mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-31 10:35:00 +02:00
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 a new issue