summaryrefslogtreecommitdiff
path: root/src/setup/display.c
diff options
context:
space:
mode:
authorSimon Howard2014-04-12 16:39:32 -0400
committerSimon Howard2014-04-12 16:39:32 -0400
commitdf5be3d8c12bda4f22a8500240765fefe5ccf21c (patch)
treea18572546397ecd3d17242090ffe2a25104652d1 /src/setup/display.c
parent32803819a07859675b1d95b6aafd1674fe7835d8 (diff)
downloadchocolate-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/setup/display.c')
0 files changed, 0 insertions, 0 deletions