mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Display: Add GL error check after initial makeCurrent()
This commit is contained in:
parent
42e75bb619
commit
1ccab9e810
1 changed files with 1 additions and 0 deletions
|
|
@ -767,6 +767,7 @@ public final class Display {
|
|||
|
||||
private static void makeCurrentAndSetSwapInterval() throws LWJGLException {
|
||||
makeCurrent();
|
||||
Util.checkGLerror();
|
||||
setSwapInterval(swap_interval);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue