This commit is contained in:
wheremyfoodat
2025-07-28 19:01:34 +03:00
committed by GitHub
parent 948ae5ef4a
commit a8ebc71f11

View File

@@ -150,7 +150,7 @@ void RendererMTL::display() {
} }
void RendererMTL::initGraphicsContext(void* window) { void RendererMTL::initGraphicsContext(void* window) {
// On Qt and IOS, the frontend handles the MetalLayer // On Qt and iOS, the frontend handles the Metal layer
#if defined(PANDA3DS_FRONTEND_QT) || defined(PANDA3DS_IOS) #if defined(PANDA3DS_FRONTEND_QT) || defined(PANDA3DS_IOS)
device = MTL::CreateSystemDefaultDevice(); device = MTL::CreateSystemDefaultDevice();
#else #else