diff --git a/Provenance/Emulator/PVGLViewController.m b/Provenance/Emulator/PVGLViewController.m index 3a1d9e3461..e47504ab99 100644 --- a/Provenance/Emulator/PVGLViewController.m +++ b/Provenance/Emulator/PVGLViewController.m @@ -198,7 +198,6 @@ - (void)viewDidLoad [EAGLContext setCurrentContext:self.glContext]; GLKView *view = (GLKView *)self.view; - view.context = self.glContext; #else self.device = MTLCreateSystemDefaultDevice(); @@ -224,6 +223,7 @@ - (void)viewDidLoad #endif view.opaque = YES; view.layer.opaque = YES; + view.context = self.glContext; view.userInteractionEnabled = NO; GLenum depthFormat = self.emulatorCore.depthFormat;