mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 13:50:36 +00:00
Fixes _SCREENY for the mac.
This commit is contained in:
parent
37ea325cfa
commit
0d92432fbf
|
@ -25096,7 +25096,7 @@ void sub_put2(int32 i,int64 offset,void *element,int32 passed){
|
|||
return glutGet(GLUT_WINDOW_Y) - glutGet(GLUT_WINDOW_BORDER_WIDTH) - glutGet(GLUT_WINDOW_HEADER_HEIGHT);
|
||||
#elif defined(QB64_GUI) && defined(QB64_MACOSX) && defined(QB64_GLUT)
|
||||
while (!window_exists){Sleep(100);} //Wait for window to be created before checking position
|
||||
return glutGet(GLUT_WINDOW_X);
|
||||
return glutGet(GLUT_WINDOW_Y);
|
||||
#endif
|
||||
return 0; //if not windows then return 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue