mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
Linux: reset/restore gamma settings on activate/deactivate
This commit is contained in:
parent
dcaf73c2e7
commit
8b691bbe78
4 changed files with 38 additions and 33 deletions
|
|
@ -370,9 +370,9 @@ public final class Display {
|
|||
try {
|
||||
if (fullscreen) {
|
||||
switchDisplayMode();
|
||||
} else {
|
||||
} else {
|
||||
resetDisplayMode();
|
||||
}
|
||||
}
|
||||
createWindow();
|
||||
} catch (LWJGLException e) {
|
||||
destroyContext();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue