Display: Add GL error check after initial makeCurrent()

This commit is contained in:
Elias Naur 2007-05-27 07:48:43 +00:00
parent 42e75bb619
commit 1ccab9e810
1 changed files with 1 additions and 0 deletions

View File

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