some include path jazz

This commit is contained in:
Greg Wells
2025-07-01 16:42:45 -04:00
parent e867255b9d
commit 918d854062
10 changed files with 18 additions and 7 deletions

View File

@@ -15,6 +15,10 @@ gnRenderingAPI* gnGetSupportedRenderingAPIs(int* count) {
return renderingAPIs;
}
gnBool gnSupportsRenderingAPI(gnRenderingAPI api) {
for (int i = 0; i < 3; i++) if (api == renderingAPIs[i]) return gnTrue;
return gnFalse;
}
CAMetalLayer* gnCreateCAMetalLayer(NSWindow* window) {
NSView* view = window.contentView;