diff options
author | Simon Howard | 2014-04-12 16:39:32 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-12 16:39:32 -0400 |
commit | df5be3d8c12bda4f22a8500240765fefe5ccf21c (patch) | |
tree | a18572546397ecd3d17242090ffe2a25104652d1 /src/deh_main.c | |
parent | 32803819a07859675b1d95b6aafd1674fe7835d8 (diff) | |
download | chocolate-doom-df5be3d8c12bda4f22a8500240765fefe5ccf21c.tar.gz chocolate-doom-df5be3d8c12bda4f22a8500240765fefe5ccf21c.tar.bz2 chocolate-doom-df5be3d8c12bda4f22a8500240765fefe5ccf21c.zip |
hexen: Create HR (startup) screen at native bpp.
Always call SDL_SetVideoMode() with bpp=0 to use the native pixel
depth of the display. This avoids problems with some systems that
don't properly support 8-bit screen modes any more. Draw into an
intermediate buffer and let SDL take care of the pixel depth
conversion for us.
Diffstat (limited to 'src/deh_main.c')
0 files changed, 0 insertions, 0 deletions