diff --git a/src/java/org/lwjgl/opengl/Display.java b/src/java/org/lwjgl/opengl/Display.java index 2ececf75..390835f5 100644 --- a/src/java/org/lwjgl/opengl/Display.java +++ b/src/java/org/lwjgl/opengl/Display.java @@ -596,7 +596,7 @@ public final class Display { * * @throws LWJGLException If the context could not be released */ - public void releaseContext() throws LWJGLException { + public static void releaseContext() throws LWJGLException { if (!isCreated()) throw new IllegalStateException("Display is not created"); if (context.isCurrent())