From cf6af71d338c0db58ef4e1af17b0d1c874dc7544 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 24 Dec 2018 12:08:00 -0500 Subject: [PATCH] boolean fix for VS add GL_NORMALIZE --- src/hardware/r_opengl/r_opengl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index f7f9dd5b..6813b956 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -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); } // -----------------+