Fixed typo
This commit is contained in:
parent
e9a9ba7c67
commit
afe90249cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue