Ticket #7984: sdl_gl_fullscreen.patch
File sdl_gl_fullscreen.patch, 399 bytes (added by , 22 years ago) |
---|
Line | |
---|---|
1 | 253a254 |
2 | > int gl_flags = FB2GL_320 | FB2GL_PITCH; |
3 | 271a273,274 |
4 | > if (_full_screen) gl_flags |= (FB2GL_FS); |
5 | > |
6 | 273,275c276 |
7 | < fb2gl_init(640,480,0,70, FB2GL_FS | FB2GL_320 | FB2GL_PITCH | FB2GL_RGBA | FB2GL_EXPAND); |
8 | < #else |
9 | < fb2gl_init(640,480,0,70, FB2GL_FS | FB2GL_320 | FB2GL_PITCH); |
10 | --- |
11 | > gl_flags |= (FB2GL_RGBA | FB2GL_EXPAND); |
12 | 276a278,279 |
13 | > |
14 | > fb2gl_init(640,480,0,70,gl_flags); |