boolean fix for VS
add GL_NORMALIZE
This commit is contained in:
1 parent
72c2b28328
commit
cf6af71d33
1 file changed
+2
@@ -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);
|
||||
}
|
||||
|
||||
// -----------------+
|
||||
|
||||
Reference in new issue
Block a user