From 6551bfc9535e8b62c0c567500948d44b8da6acbe Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 18 May 2011 13:32:46 +0000 Subject: [PATCH] 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 --- vid_shared.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2