Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | ee331407574f |
children | 8cc00819c8d6 |
comparison
equal
deleted
inserted
replaced
3010:a6694a812119 | 3011:8f4ed5ec2b06 |
---|---|
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)-> | 420 ((SDL_DisplayData *) SDL_GetDisplayFromWindow(window)->driverdata)-> |
421 driverdata)->screen; | 421 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 |