mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 23:19:11 +00:00
Fixed bug #7462 - 8888 as default GL backbuffer red/green/blue/alpha bit sizes
This commit is contained in:
parent
f9ac7b4044
commit
5da9e99da0
2 changed files with 8 additions and 8 deletions
|
@ -96,10 +96,10 @@ SDLTest_CommonCreateState(char **argv, Uint32 flags)
|
|||
state->audiospec.samples = 2048;
|
||||
|
||||
/* Set some very sane GL defaults */
|
||||
state->gl_red_size = 3;
|
||||
state->gl_green_size = 3;
|
||||
state->gl_blue_size = 2;
|
||||
state->gl_alpha_size = 0;
|
||||
state->gl_red_size = 8;
|
||||
state->gl_green_size = 8;
|
||||
state->gl_blue_size = 8;
|
||||
state->gl_alpha_size = 8;
|
||||
state->gl_buffer_size = 0;
|
||||
state->gl_depth_size = 16;
|
||||
state->gl_stencil_size = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue