boolean fix for VS

add GL_NORMALIZE
This commit is contained in:
Arthur 2018-12-24 12:08:00 -05:00 committed by mazmazz
parent 72c2b28328
commit cf6af71d33
1 changed files with 2 additions and 0 deletions

View File

@ -1700,6 +1700,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
@ -1859,6 +1860,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);
}
// -----------------+