Skip to content

Commit

Permalink
Replace deprecated enum value for macOS 10.14
Browse files Browse the repository at this point in the history
  • Loading branch information
mogemimi committed Oct 2, 2020
1 parent b7ba355 commit d0cea82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platform.Cocoa/OpenGLContextCocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
[openGLContext makeCurrentContext];

constexpr GLint swapInterval = 1;
[openGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];
[openGLContext setValues:&swapInterval forParameter:NSOpenGLContextParameterSwapInterval];
}

OpenGLContextCocoa::~OpenGLContextCocoa()
Expand Down

0 comments on commit d0cea82

Please sign in to comment.