From c9f35b917dccba8238a43581cf375bd6ff184c9b Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 2 Jan 2006 14:15:24 +0000 Subject: [PATCH] Made Display.releaseContext static (duh) --- src/java/org/lwjgl/opengl/Display.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())