summaryrefslogtreecommitdiff
path: root/pcsound
diff options
context:
space:
mode:
authorSimon Howard2014-04-12 16:31:31 -0400
committerSimon Howard2014-04-12 16:31:31 -0400
commit32803819a07859675b1d95b6aafd1674fe7835d8 (patch)
tree451e2d67d775ffad2ca8abe3d0b6b2c56361c2bf /pcsound
parenta1b066a0eb0d2cf5d17ad68ca833fcdd21f80725 (diff)
downloadchocolate-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 'pcsound')
0 files changed, 0 insertions, 0 deletions