Fixed typo

This commit is contained in:
Elias Naur 2004-07-24 20:05:51 +00:00
parent e9a9ba7c67
commit afe90249cf
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ public final class Pbuffer {
*/
public synchronized void makeCurrent() throws LWJGLException {
if (display_context != null && display_context != Display.getContext())
throw new IllegalStateException("Cannot make a Pbuffer invalid after the Display has been destroyed");
throw new IllegalStateException("Cannot make a Pbuffer current after the Display has been destroyed");
nMakeCurrent(handle);
if (display_context == null)
GLContext.useContext(this);