From 1187d0e3e88d1acf155ddd89ea8fc6ea1db11077 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 23 Jul 2004 18:10:51 +0000 Subject: [PATCH] null currentContext when GLContext.useContext(null) is called --- src/java/org/lwjgl/opengl/GLContext.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/lwjgl/opengl/GLContext.java b/src/java/org/lwjgl/opengl/GLContext.java index b8e8cd1e..990498ca 100644 --- a/src/java/org/lwjgl/opengl/GLContext.java +++ b/src/java/org/lwjgl/opengl/GLContext.java @@ -233,6 +233,7 @@ public final class GLContext { unloadStubs(); if (did_auto_load) unloadOpenGLLibrary(); + currentContext = null; return; } // Is this the same as last time?