aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/SQLite/SQLiteTable3.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-15 08:39:59 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-15 08:39:59 +0000
commitb277ee24fdac7c45e159262ac9645d7cc42c5f22 (patch)
tree35ec349d706664fa13c067d0cc4ef7c2a0c48465 /src/lib/SQLite/SQLiteTable3.pas
parentd416ec72d686b15dc1d8083251b33cfe017213fc (diff)
downloadusdx-b277ee24fdac7c45e159262ac9645d7cc42c5f22.tar.gz
usdx-b277ee24fdac7c45e159262ac9645d7cc42c5f22.tar.xz
usdx-b277ee24fdac7c45e159262ac9645d7cc42c5f22.zip
Do not set a minimum size for the alpha component of the screen mode (SDL_GL_ALPHA_SIZE), otherwise on a few systems with some versions of SDL (at least 1.2.11) SDL_SetVideoMode will fail.
The problem occured if the adjusted color component sizes did not leave any space for alpha, e.g. red/green/blue ajusted from 5 to 8: r_size+g_size+b_size = 24, so an alpha of at least 5 is just available if the depth is 32bit. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1383 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/SQLite/SQLiteTable3.pas')
0 files changed, 0 insertions, 0 deletions