Mercurial > sdl-ios-xcode
comparison src/video/dummy/SDL_nullvideo.c @ 1667:1fddae038bc8 SDL-1.3
Implemented many compatibility functions
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 03:53:21 +0000 |
parents | 6e7ec5cb83c3 |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1666:6e7ec5cb83c3 | 1667:1fddae038bc8 |
---|---|
116 | 116 |
117 | 117 |
118 int | 118 int |
119 DUMMY_VideoInit (_THIS) | 119 DUMMY_VideoInit (_THIS) |
120 { | 120 { |
121 SDL_DisplayMode mode; | |
122 | |
121 SDL_AddBasicVideoDisplay (NULL); | 123 SDL_AddBasicVideoDisplay (NULL); |
124 | |
125 SDL_zero(mode); | |
126 SDL_AddDisplayMode(0, &mode); | |
122 | 127 |
123 /* We're done! */ | 128 /* We're done! */ |
124 return 0; | 129 return 0; |
125 } | 130 } |
126 | 131 |