Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11opengl.c @ 2735:204be4fc2726
Final merge of Google Summer of Code 2008 work...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2008 15:10:03 +0000 |
parents | 911db724ea24 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2734:dd25eabe441c | 2735:204be4fc2726 |
---|---|
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 |