Fix models binding the lighttable texture to the the palette lookup texture
This fixes stuff becoming blue when models are on
This commit is contained in:
parent
799b1ec0d3
commit
af7b843690
1 changed files with 2 additions and 2 deletions
|
|
@ -2734,7 +2734,7 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, float duration, float
|
|||
|
||||
if (Surface->LightTableId && Surface->LightTableId != lt_downloaded)
|
||||
{
|
||||
pglActiveTexture(GL_TEXTURE2);
|
||||
pglActiveTexture(GL_TEXTURE3);
|
||||
pglBindTexture(GL_TEXTURE_2D, Surface->LightTableId);
|
||||
pglActiveTexture(GL_TEXTURE0);
|
||||
lt_downloaded = Surface->LightTableId;
|
||||
|
|
|
|||
Loading…
Reference in a new issue