Init context API for native display.

This commit is contained in:
BrandonSchaefer
2014-11-06 00:24:08 -08:00
committed by Camilla Berglund
parent 4295b77582
commit 49696d0134
3 changed files with 47 additions and 4 deletions
+7
View File
@@ -17,9 +17,16 @@ int _glfwPlatformInit(void)
_glfw.mir.native_display = mir_connection_get_egl_native_display(_glfw.mir.connection);
// TODO Add in bits to get the correct monitors and screen sizes...
// Ill just hard code in my own right now to jump ahead to surface and events.
if (!_glfwInitContextAPI())
return GL_FALSE;
_glfwInitTimer();
_glfwInitJoysticks();
return GL_TRUE;
}