mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-12 23:54:33 +00:00
Fix of a bug with fullbright models..
This commit is contained in:
parent
b5e459d224
commit
e5581c8373
1 changed files with 2 additions and 1 deletions
|
@ -668,7 +668,8 @@ static void R_DrawAliasModel (entity_t *e)
|
||||||
R_SetupAliasFrame (currententity->frame, paliashdr, false);
|
R_SetupAliasFrame (currententity->frame, paliashdr, false);
|
||||||
|
|
||||||
// This block is GL fullbright support for objects...
|
// This block is GL fullbright support for objects...
|
||||||
if (clmodel->hasfullbrights && gl_fb_models->value) {
|
if (clmodel->hasfullbrights && gl_fb_models->value &&
|
||||||
|
paliashdr->gl_fb_texturenum[currententity->skinnum][anim]) {
|
||||||
/*
|
/*
|
||||||
glEnable (GL_BLEND);
|
glEnable (GL_BLEND);
|
||||||
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
|
||||||
|
|
Loading…
Reference in a new issue