GL_LEGACY: this should've been GL_REPLACE all along

This commit is contained in:
fgsfds 2020-08-30 01:29:26 +03:00
parent 73c6c9105f
commit 46c57457b1

View file

@ -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) {