monitor param

This commit is contained in:
2025-09-20 19:30:47 +02:00
parent e4c9125c18
commit ce1d0dba60
7 changed files with 60 additions and 17 deletions
+4 -1
View File
@@ -366,5 +366,8 @@ void shaders_apply(ShaderProgram program, Context context) {
}
}
use_program(program, program.frag_monitor_index, true, context);
use_program(program,
context.monitor ? program.frag_monitor_index
: program.frag_output_index,
true, context);
}