mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-06-29 10:30:36 +00:00
Fixes rendering issue that occurred in some Linux distros.
This commit is contained in:
parent
eab36fc4aa
commit
0ab30d953d
|
@ -27519,8 +27519,13 @@ int main( int argc, char* argv[] ){
|
|||
|
||||
#endif
|
||||
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE);
|
||||
|
||||
#ifdef QB64_WINDOWS
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE);
|
||||
#else
|
||||
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
|
||||
#endif
|
||||
|
||||
glutInitWindowSize(640,400);//cannot be changed unless display_x(etc) are modified
|
||||
|
||||
//glutInitWindowPosition(300, 200);
|
||||
|
|
Loading…
Reference in a new issue