GL_LEGACY: this should've been GL_REPLACE all along
This commit is contained in:
parent
73c6c9105f
commit
46c57457b1
|
@ -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) {
|
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) {
|
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) {
|
static inline GLenum texenv_set_texture_color(struct ShaderProgram *prg) {
|
||||||
|
|
Loading…
Reference in New Issue