mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Made Display.releaseContext static (duh)
This commit is contained in:
parent
95bc8cc4e5
commit
c9f35b917d
1 changed files with 1 additions and 1 deletions
|
|
@ -596,7 +596,7 @@ public final class Display {
|
|||
*
|
||||
* @throws LWJGLException If the context could not be released
|
||||
*/
|
||||
public void releaseContext() throws LWJGLException {
|
||||
public static void releaseContext() throws LWJGLException {
|
||||
if (!isCreated())
|
||||
throw new IllegalStateException("Display is not created");
|
||||
if (context.isCurrent())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue