diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl index b6371980cda..3cf5ca841f9 100644 --- a/drivers/gles2/shaders/canvas.glsl +++ b/drivers/gles2/shaders/canvas.glsl @@ -480,10 +480,10 @@ FRAGMENT_SHADER_CODE #endif } +#if !defined(MODULATE_USED) #ifdef USE_ATTRIB_MODULATE color *= modulate_interp; #else -#if !defined(MODULATE_USED) color *= final_modulate; #endif #endif