Skip to content

Commit

Permalink
Change order of calls in mupen
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattiello <[email protected]>
  • Loading branch information
JoeMatt committed Dec 22, 2021
1 parent edde0f1 commit 3d098d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provenance/Emulator/PVGLViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ - (void)viewDidLoad
[EAGLContext setCurrentContext:self.glContext];

GLKView *view = (GLKView *)self.view;
view.context = self.glContext;
#else
self.device = MTLCreateSystemDefaultDevice();

Expand All @@ -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;
Expand Down

0 comments on commit 3d098d0

Please sign in to comment.