Fix: GLSL error in the sequencer when running mesa

It would error out with "illegal use of reserved word 'active'"
Rename the boolan value to not use the reserved word.
This commit is contained in:
Sebastian Parborg 2024-07-05 17:22:52 +02:00
parent a2a5532818
commit f853d097a5

@ -192,8 +192,8 @@ void main()
}
/* Active, but not selected strips get a thin inner line. */
bool active = (strip.flags & GPU_SEQ_FLAG_ACTIVE) != 0;
if (active && !selected) {
bool active_strip = (strip.flags & GPU_SEQ_FLAG_ACTIVE) != 0;
if (active_strip && !selected) {
col = add_outline(sdf, 1.0, 2.0, col, col_outline);
}