diff --git a/util/test/demos/gl/gl_shader_editing.cpp b/util/test/demos/gl/gl_shader_editing.cpp index d20530ea5..c3de549a1 100644 --- a/util/test/demos/gl/gl_shader_editing.cpp +++ b/util/test/demos/gl/gl_shader_editing.cpp @@ -90,8 +90,9 @@ uniform vec4 zcol; void main() { + Color = vec4(0); #if 1 - Color = acol + bcol + ccol; + Color += acol + bcol + ccol; #endif Color += zcol.rgba; }