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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user