mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Various Mir fixes.
Changed set_type --> set_state. Give more info back when an error happens with a connection/surface. Small var name change size --> mirPixelFormats. Fixes #412.
This commit is contained in:
committed by
Camilla Berglund
parent
0fcbaeb596
commit
cbc18bf968
+4
-1
@@ -41,7 +41,10 @@ int _glfwPlatformInit(void)
|
||||
if (!mir_connection_is_valid(_glfw.mir.connection))
|
||||
{
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||
"Mir: Unable to connect to Server");
|
||||
"Mir: Unable to connect to Server %s",
|
||||
mir_connection_get_error_message(_glfw.mir.connection));
|
||||
|
||||
mir_connection_release(_glfw.mir.connection);
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user