Merge pull request #2434 from jpark37/invalid-vao
libobs-opengl: Fix Mac VAO created without context
This commit is contained in:
commit
aeb1ba9eff
@ -93,7 +93,6 @@ struct gl_platform *gl_platform_create(gs_device_t *device, uint32_t adapter)
|
||||
GLint interval = 0;
|
||||
[context setValues:&interval forParameter:NSOpenGLCPSwapInterval];
|
||||
const bool success = gladLoadGL() != 0;
|
||||
[NSOpenGLContext clearCurrentContext];
|
||||
|
||||
if (!success) {
|
||||
blog(LOG_ERROR, "gladLoadGL failed");
|
||||
|
Loading…
x
Reference in New Issue
Block a user