mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-03-28 06:46:21 +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) {
|
if (p_video_driver == VIDEO_DRIVER_GLES2) {
|
||||||
gles3 = false;
|
gles3 = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool editor = Engine::get_singleton()->is_editor_hint();
|
||||||
#else
|
#else
|
||||||
bool gles2 = true;
|
bool gles2 = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//if (p_video_driver == VIDEO_DRIVER_GLES2) {
|
|
||||||
// gles3 = false;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//bool editor = Engine::get_singleton()->is_editor_hint();
|
|
||||||
bool gl_initialization_error = false;
|
bool gl_initialization_error = false;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user