mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-15 09:53:52 +01:00
Display: Add GL error check after initial makeCurrent()
This commit is contained in:
parent
42e75bb619
commit
1ccab9e810
|
|
@ -767,6 +767,7 @@ public final class Display {
|
|||
|
||||
private static void makeCurrentAndSetSwapInterval() throws LWJGLException {
|
||||
makeCurrent();
|
||||
Util.checkGLerror();
|
||||
setSwapInterval(swap_interval);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue