From: havoc Date: Wed, 18 May 2011 13:32:46 +0000 (+0000) Subject: disable VorteX's multisample setup code because it crashes vid_restart X-Git-Tag: xonotic-v0.5.0~164 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbf9bf18151bd48f10ee81716a9a6274bd0454cf;p=xonotic%2Fdarkplaces.git disable VorteX's multisample setup code because it crashes vid_restart and looks like it does not work anyway git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11155 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=6551bfc9535e8b62c0c567500948d44b8da6acbe --- diff --git a/vid_shared.c b/vid_shared.c index fd5cbc71..9db677a1 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -1743,6 +1743,8 @@ int VID_Mode(int fullscreen, int width, int height, int bpp, float refreshrate, { viddef_mode_t mode; +#if 0 + // LordHavoc: FIXME: VorteX broke vid_restart with this, it is a mystery why it would ever work, commented out // multisampling should set at least 2 samples if (vid.support.arb_multisample) { @@ -1750,6 +1752,7 @@ int VID_Mode(int fullscreen, int width, int height, int bpp, float refreshrate, if (vid_multisampling.integer) samples = max(2, samples); } +#endif memset(&mode, 0, sizeof(mode)); mode.fullscreen = fullscreen != 0;