From 30d4f77091946f70ba29d79fe3852af4f371e040 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 5 Sep 2007 01:40:36 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1295 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index af81692b..26b86e4b 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -343,7 +343,8 @@ int main(int argc, char **argv) SDL_ShowCursor(0); initlog("gl"); - gl_init(scr_w, scr_h, colorbits, depthbits, fsaa); + + gl_init(scr_w, scr_h, colorbits, config&1 ? depthbits : 0, config&2 ? fsaa : 0); notexture = textureload("packages/misc/notexture.png"); if(!notexture) fatal("could not find core textures (hint: run AssaultCube from the parent of the bin directory)");