Display: Add GL error check after initial makeCurrent() (for real this time)
This commit is contained in:
parent
1ccab9e810
commit
748c826af4
|
@ -767,7 +767,7 @@ public final class Display {
|
||||||
|
|
||||||
private static void makeCurrentAndSetSwapInterval() throws LWJGLException {
|
private static void makeCurrentAndSetSwapInterval() throws LWJGLException {
|
||||||
makeCurrent();
|
makeCurrent();
|
||||||
Util.checkGLerror();
|
Util.checkGLError();
|
||||||
setSwapInterval(swap_interval);
|
setSwapInterval(swap_interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue