Fixed GCC warnings.

This commit is contained in:
Camilla Berglund
2012-03-22 23:30:00 +01:00
parent 08942fcabe
commit c2a2114590
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ struct _glfwResolution
int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
{
int count, k, l, r, g, b, rgba, gl;
int depth, screen;
int depth, screen = DefaultScreen(_glfwLibrary.X11.display);
XVisualInfo* vislist;
XVisualInfo dummy;
int viscount, rgbcount, rescount;