mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
Mac OS X: Release and clear the context from the drawable in the correct order
This commit is contained in:
parent
bc09bd11e3
commit
a9f9a38c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -277,8 +277,8 @@ public final class Display {
|
|||
}
|
||||
try {
|
||||
if (context != null && context.isCurrent()) {
|
||||
context.releaseDrawable();
|
||||
Context.releaseCurrentContext();
|
||||
context.releaseDrawable();
|
||||
}
|
||||
} catch (LWJGLException e) {
|
||||
LWJGLUtil.log("Exception occurred while trying to release context: " + e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue