Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11modes.c @ 1951:7177581dc9fa
Initial work on X11 window code in.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Jul 2006 06:53:23 +0000 |
parents | a344e42bce3b |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
1950:a344e42bce3b | 1951:7177581dc9fa |
---|---|
104 if (!displaydata) { | 104 if (!displaydata) { |
105 continue; | 105 continue; |
106 } | 106 } |
107 displaydata->screen = screen; | 107 displaydata->screen = screen; |
108 displaydata->visual = vinfo.visual; | 108 displaydata->visual = vinfo.visual; |
109 displaydata->depth = vinfo.depth; | |
109 | 110 |
110 SDL_zero(display); | 111 SDL_zero(display); |
111 display.desktop_mode = mode; | 112 display.desktop_mode = mode; |
112 display.current_mode = mode; | 113 display.current_mode = mode; |
113 display.driverdata = displaydata; | 114 display.driverdata = displaydata; |