Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
418 X11_GL_CreateContext(_THIS, SDL_Window * window) | 418 X11_GL_CreateContext(_THIS, SDL_Window * window) |
419 { | 419 { |
420 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; | 420 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; |
421 Display *display = data->videodata->display; | 421 Display *display = data->videodata->display; |
422 int screen = | 422 int screen = |
423 ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)->driverdata)-> | 423 ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)-> |
424 screen; | 424 driverdata)->screen; |
425 XWindowAttributes xattr; | 425 XWindowAttributes xattr; |
426 XVisualInfo v, *vinfo; | 426 XVisualInfo v, *vinfo; |
427 int n; | 427 int n; |
428 GLXContext context = NULL; | 428 GLXContext context = NULL; |
429 | 429 |