Made Display.releaseContext static (duh)

This commit is contained in:
Elias Naur 2006-01-02 14:15:24 +00:00
parent 95bc8cc4e5
commit c9f35b917d
1 changed files with 1 additions and 1 deletions

View File

@ -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())