Don't X error in SDL_CreateWindow with unsupported GL attributes
This commit is contained in:
1 parent
adc64f922f
commit
b89cac6761
1 file changed
+3
-1
@@ -463,7 +463,9 @@ X11_GL_InitExtensions(_THIS)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
X11_XDestroyWindow(display, w);
|
if (w) {
|
||||||
|
X11_XDestroyWindow(display, w);
|
||||||
|
}
|
||||||
X11_PumpEvents(_this);
|
X11_PumpEvents(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user