test(libSceNgs2.native): destroy the system after the unsupported default map render

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
JAB-dev 2026-10-09 17:36:39 +02:00
parent ed9a70175e
commit 9af48b5b02
1 changed files with 1 additions and 0 deletions

View File

@ -490,6 +490,7 @@ static void TestDefaultChannelMap() {
bool unsupported = false;
try { sceNgs2SystemRender(system, &info, 1); } catch (const std::runtime_error&) { unsupported = true; }
Require(unsupported);
Require(sceNgs2SystemDestroy(system, nullptr) == SCE_NGS2_OK);
}
static void TestUnsetMatrix() {