Commit a7dec84b authored by havoc's avatar havoc Committed by Rudolf Polzer

Uncomment the texture binding check in R_Mesh_TexBind so that the engine makes less calls.

git-svn-id: svn://svn.icculus.org/twilight/trunk/[email protected] d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=58e0683b
parent b0bfffea
......@@ -3873,8 +3873,8 @@ void R_Mesh_TexBind(unsigned int unitnum, rtexture_t *tex)
int tex2d, tex3d, texcubemap, texnum;
if (unitnum >= vid.teximageunits)
return;
// if (unit->texture == tex)
// return;
if (unit->texture == tex)
return;
switch(vid.renderpath)
{
case RENDERPATH_GL20:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment