mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-01 02:54:57 +02:00
Added a comment that a context must be current before calling GLContext.useContext()
This commit is contained in:
parent
a9398f77dd
commit
e8f47b066d
|
|
@ -214,7 +214,8 @@ public final class GLContext {
|
|||
}
|
||||
|
||||
/**
|
||||
* Makes a GL context the current context. This method does not make the context current though!
|
||||
* Makes a GL context the current LWJGL context by loading GL function pointers.
|
||||
* The context must be current before a call to this method!
|
||||
* Instead it simply ensures that the current context is reflected accurately by GLContext's
|
||||
* extension caps and function pointers. Use useContext(null) when no context is active.
|
||||
* <p>If the context is the same as last time, then this is a no-op.
|
||||
|
|
|
|||
Loading…
Reference in a new issue