Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed unused variable to silence compiler warning.

  • Loading branch information
icculus committed Jul 12, 2012
1 parent eb38ac3 commit ed68bfadf6b981fec3cd878fc92065a73d4a0b7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11opengl.c
@@ -424,7 +424,7 @@ X11_GL_GetVisual(_THIS, Display * display, int screen)

/* 64 seems nice. */
int attribs[64];
int i = X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);
X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);

if (!_this->gl_data) {
/* The OpenGL library wasn't loaded, SDL_GetError() should have info */

0 comments on commit ed68bfa

Please sign in to comment.