summaryrefslogtreecommitdiffstats
path: root/src/glut/glx
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-08-30 14:12:01 +0100
committerJosé Fonseca <[email protected]>2010-08-30 14:12:01 +0100
commitf3eebb846587b96da280659c7dea6457a886ab85 (patch)
treed24cad797516a38ad0d352314ce60395787b54d4 /src/glut/glx
parent4841c0a15adcc722e67d7d246987cd686d3f7a17 (diff)
glut: Silence missing initializer warning.
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/glut_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_init.c b/src/glut/glx/glut_init.c
index 842aefc93c7..213819e7510 100644
--- a/src/glut/glx/glut_init.c
+++ b/src/glut/glx/glut_init.c
@@ -44,7 +44,7 @@ unsigned int __glutDisplayMode =
GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH;
char *__glutDisplayString = NULL;
int __glutConnectionFD;
-XSizeHints __glutSizeHints = {0};
+XSizeHints __glutSizeHints;
int __glutInitWidth = 300, __glutInitHeight = 300;
int __glutInitX = -1, __glutInitY = -1;
GLboolean __glutForceDirect = GL_FALSE,