From 46c57457b1908bdf610a5695f90d5796e1634472 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 30 Aug 2020 01:29:26 +0300 Subject: [PATCH] GL_LEGACY: this should've been GL_REPLACE all along --- src/pc/gfx/gfx_opengl_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pc/gfx/gfx_opengl_legacy.c b/src/pc/gfx/gfx_opengl_legacy.c index a069f349..2e3f1216 100644 --- a/src/pc/gfx/gfx_opengl_legacy.c +++ b/src/pc/gfx/gfx_opengl_legacy.c @@ -132,11 +132,11 @@ static bool gfx_opengl_z_is_from_0_to_1(void) { } static inline GLenum texenv_set_color(UNUSED struct ShaderProgram *prg) { - return GL_MODULATE; + return GL_REPLACE; } static inline GLenum texenv_set_texture(UNUSED struct ShaderProgram *prg) { - return GL_MODULATE; + return GL_REPLACE; } static inline GLenum texenv_set_texture_color(struct ShaderProgram *prg) {