mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
boolean fix for VS
add GL_NORMALIZE
This commit is contained in:
parent
eb78f92641
commit
f01d708edf
1 changed files with 2 additions and 0 deletions
|
|
@ -1701,6 +1701,7 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32
|
|||
}
|
||||
|
||||
pglEnable(GL_CULL_FACE);
|
||||
pglEnable(GL_NORMALIZE);
|
||||
|
||||
#ifdef USE_FTRANSFORM_MIRROR
|
||||
// flipped is if the object is flipped
|
||||
|
|
@ -1860,6 +1861,7 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32
|
|||
pglDisable(GL_LIGHTING);
|
||||
pglShadeModel(GL_FLAT);
|
||||
pglDisable(GL_CULL_FACE);
|
||||
pglDisable(GL_NORMALIZE);
|
||||
}
|
||||
|
||||
// -----------------+
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue