1
0
mirror of https://github.com/sm64pc/sm64pc.git synced 2025-04-12 00:05:59 +02:00

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 840eadb9e6
commit da20f79e96

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