diff options
author | Simon Howard | 2014-04-12 16:31:31 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-12 16:31:31 -0400 |
commit | 32803819a07859675b1d95b6aafd1674fe7835d8 (patch) | |
tree | 451e2d67d775ffad2ca8abe3d0b6b2c56361c2bf /src/strife/p_user.c | |
parent | a1b066a0eb0d2cf5d17ad68ca833fcdd21f80725 (diff) | |
download | chocolate-doom-32803819a07859675b1d95b6aafd1674fe7835d8.tar.gz chocolate-doom-32803819a07859675b1d95b6aafd1674fe7835d8.tar.bz2 chocolate-doom-32803819a07859675b1d95b6aafd1674fe7835d8.zip |
textscreen: Init screen at native bit depth.
Always call SDL_SetVideoMode with bpp=0 to use the desktop's native
bit depth, and instead draw into an intermediate 8-bit screenbuffer
surface. This ensures that we do not encounter any palette mess-ups
as on some systems true 8-bit screen modes are poorly supported.
Diffstat (limited to 'src/strife/p_user.c')
0 files changed, 0 insertions, 0 deletions