Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 3013:8cc00819c8d6
Reverted Bob's indent checkin
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 21:50:26 +0000 |
parents | 8f4ed5ec2b06 |
children | 089a77aebb7d |
comparison
equal
deleted
inserted
replaced
3012:7e30c2dc7783 | 3013:8cc00819c8d6 |
---|---|
415 X11_GL_CreateContext(_THIS, SDL_Window * window) | 415 X11_GL_CreateContext(_THIS, SDL_Window * window) |
416 { | 416 { |
417 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; | 417 SDL_WindowData *data = (SDL_WindowData *) window->driverdata; |
418 Display *display = data->videodata->display; | 418 Display *display = data->videodata->display; |
419 int screen = | 419 int screen = |
420 ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)->driverdata)-> | 420 ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)-> |
421 screen; | 421 driverdata)->screen; |
422 XWindowAttributes xattr; | 422 XWindowAttributes xattr; |
423 XVisualInfo v, *vinfo; | 423 XVisualInfo v, *vinfo; |
424 int n; | 424 int n; |
425 GLXContext context = NULL; | 425 GLXContext context = NULL; |
426 | 426 |