default z-buffer >= 16 bits

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1650 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-02-15 01:20:25 +00:00
parent 491f6bc2fb
commit 274724923c
+1
View File
@@ -203,6 +203,7 @@ void setupscreen(int &usedcolorbits, int &useddepthbits, int &usedfsaa)
0 /* try disabling everything */
};
int config = 0;
if(!depthbits) SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
if(!fsaa)
{
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 0);