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:
BrandonSchaefer
2015-01-05 14:11:11 -08:00
committed by Camilla Berglund
parent 0fcbaeb596
commit cbc18bf968
2 changed files with 14 additions and 8 deletions
+4 -1
View File
@@ -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;
}