]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed r_fullbright
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Mar 2004 05:15:08 +0000 (05:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Mar 2004 05:15:08 +0000 (05:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4040 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 9fc93894680b50b0e9e628e054ee421031091f7b..a3ab306dbd56cc5810946c0948fa60c47f878c85 100644 (file)
@@ -1296,7 +1296,7 @@ static void R_DrawSurfaceChain(const entity_render_t *ent, const texture_t *text
                                }
                        }
                }
-               else if (ent->effects & EF_FULLBRIGHT)
+               else if (ent->effects & EF_FULLBRIGHT || r_fullbright.integer)
                {
                        RSurfShader_OpaqueWall_Pass_BaseTexture(ent, texture, surfchain);
                        if (r_detailtextures.integer)