update gryphn to use GN_FALSE + GN_TRUE

This commit is contained in:
Gregory Wells
2025-07-28 20:05:44 -04:00
parent d649e5b3bb
commit 07a2cf85ad
24 changed files with 62 additions and 78 deletions

View File

@@ -23,10 +23,10 @@ gnBool gnIsSurfaceFormatSupported(
gnSurfaceFormat* formats = gnGetSupportedSurfaceFormats(windowSurface, device, &formatCount);
for (int i = 0; i < formatCount; i++) {
if (formats[i].format == format.format && formats[i].colorSpace == format.colorSpace) {
return gnTrue;
return GN_TRUE;
}
}
return gnFalse;
return GN_FALSE;
}
gnSurfaceFormat gnGetPreferredSurfaceFormat(