Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11opengl.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | 7b53a8401195 |
children |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11opengl.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/video/x11/SDL_x11opengl.c Wed Aug 27 04:23:38 2008 +0000 @@ -420,8 +420,8 @@ SDL_WindowData *data = (SDL_WindowData *) window->driverdata; Display *display = data->videodata->display; int screen = - ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)->driverdata)-> - screen; + ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)-> + driverdata)->screen; XWindowAttributes xattr; XVisualInfo v, *vinfo; int n;