src/video/x11/SDL_x11opengles.c
changeset 7471 75726efbf679
parent 7191 75360622e65f
child 7659 ac4ce59c40e7
--- a/src/video/x11/SDL_x11opengles.c	Thu Jul 18 22:20:09 2013 -0400
+++ b/src/video/x11/SDL_x11opengles.c	Fri Jul 19 00:22:57 2013 -0400
@@ -212,7 +212,7 @@
     /* 64 seems nice. */
     EGLint attribs[64];
     EGLint found_configs = 0;
-    VisualID visual_id;
+    EGLint visual_id;
     int i;
 
     if (!_this->gles_data) {
@@ -277,7 +277,7 @@
     if (_this->gles_data->eglGetConfigAttrib(_this->gles_data->egl_display,
                                              _this->gles_data->egl_config,
                                              EGL_NATIVE_VISUAL_ID,
-                                             (EGLint *) & visual_id) ==
+                                             &visual_id) ==
         EGL_FALSE || !visual_id) {
         /* Use the default visual when all else fails */
         XVisualInfo vi_in;