mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Init context API for native display.
This commit is contained in:
committed by
Camilla Berglund
parent
4295b77582
commit
49696d0134
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user