mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 08:45:31 -05:00
Removed unused variable to silence compiler warning.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user