]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Forgot to put back the paranoid code
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2010 22:47:57 +0000 (22:47 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2010 22:47:57 +0000 (22:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10473 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 2ae699b36267a43b629cfdf707c8e541f619113c..10397fd8969b48ac662847c26b78274f315cbc92 100644 (file)
@@ -4500,7 +4500,7 @@ static void R_HLSL_CacheShader(r_hlsl_permutation_t *p, const char *cachename, c
        int psresult = 0;
        char temp[MAX_INPUTLINE];
        const char *vsversion = "vs_3_0", *psversion = "ps_3_0";
-       qboolean debugshader = 1;//gl_paranoid.integer != 0;
+       qboolean debugshader = gl_paranoid.integer != 0;
        if (p->permutation & SHADERPERMUTATION_OFFSETMAPPING) {vsversion = "vs_3_0";psversion = "ps_3_0";}
        if (p->permutation & SHADERPERMUTATION_OFFSETMAPPING_RELIEFMAPPING) {vsversion = "vs_3_0";psversion = "ps_3_0";}
        if (!debugshader)