Display: Add GL error check after initial makeCurrent() (for real this time)

This commit is contained in:
Elias Naur 2007-05-27 13:09:48 +00:00
parent 1ccab9e810
commit 748c826af4
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ public final class Display {
private static void makeCurrentAndSetSwapInterval() throws LWJGLException {
makeCurrent();
Util.checkGLerror();
Util.checkGLError();
setSwapInterval(swap_interval);
}