mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Fix osx build.
This commit is contained in:
parent
05dbe60f9b
commit
b2bda506de
@ -1766,15 +1766,12 @@ Error OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
|
||||
if (p_video_driver == VIDEO_DRIVER_GLES2) {
|
||||
gles3 = false;
|
||||
}
|
||||
|
||||
bool editor = Engine::get_singleton()->is_editor_hint();
|
||||
#else
|
||||
bool gles2 = true;
|
||||
#endif
|
||||
|
||||
//if (p_video_driver == VIDEO_DRIVER_GLES2) {
|
||||
// gles3 = false;
|
||||
//}
|
||||
|
||||
//bool editor = Engine::get_singleton()->is_editor_hint();
|
||||
bool gl_initialization_error = false;
|
||||
|
||||
while (true) {
|
||||
|
Loading…
Reference in New Issue
Block a user