Browse Source

X11: Add missing return in OS_X11::initialize().

Andreas Haas 7 years ago
parent
commit
fab0d53f7e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      platform/x11/os_x11.cpp

+ 2 - 0
platform/x11/os_x11.cpp

@@ -523,6 +523,8 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
 			_window_changed(&xevent);
 		}
 	}
+
+	return OK;
 }
 
 void OS_X11::xim_destroy_callback(::XIM im, ::XPointer client_data,