mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Mac: Fix window redrawing having artifacts and mouse movement not being registered when using coca backend with macOS tiger
This commit is contained in:
parent
6131a3f8cf
commit
080032b922
@ -165,7 +165,8 @@ void Window_Create(int width, int height) {
|
||||
rect.size.height = height;
|
||||
|
||||
winHandle = [CCWindow alloc];
|
||||
[winHandle initWithContentRect:rect styleMask:WIN_MASK backing:0 defer:false];
|
||||
[winHandle initWithContentRect:rect styleMask:WIN_MASK backing:NSBackingStoreBuffered defer:false];
|
||||
[winHandle setAcceptsMouseMovedEvents:YES];
|
||||
|
||||
Window_CommonCreate();
|
||||
del = [CCWindowDelegate alloc];
|
||||
|
Loading…
x
Reference in New Issue
Block a user