From: José Fonseca Date: Mon, 30 Aug 2010 13:12:01 +0000 (+0100) Subject: glut: Silence missing initializer warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3eebb846587b96da280659c7dea6457a886ab85;p=mesa.git glut: Silence missing initializer warning. --- 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,