]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix screenshot hw gamma check
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Sep 2009 20:23:44 +0000 (20:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Sep 2009 20:23:44 +0000 (20:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9250 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 6001636552520790bf197ed89f0418e859ce77a8..65f3707e589bea1a59885b14b66ea85adbcdbaa3 100644 (file)
@@ -62,7 +62,7 @@ cvar_t cl_demo_mousegrab = {0, "cl_demo_mousegrab", "0", "Allows reading the mou
 extern cvar_t r_glsl;
 extern cvar_t v_glslgamma;
 extern cvar_t sbar_info_pos;
-#define WANT_SCREENSHOT_HWGAMMA (scr_screenshot_hwgamma.integer && !(r_glsl.integer && v_glslgamma.integer))
+#define WANT_SCREENSHOT_HWGAMMA (scr_screenshot_hwgamma.integer && vid_usinghwgamma)
 
 int jpeg_supported = false;