mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
emit_glasm: Enable ARB_draw_buffers when needed
This commit is contained in:
parent
059e91d5da
commit
22fb9cc538
2 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,7 @@ EmitContext::EmitContext(IR::Program& program) {
|
|||
if (index == 0) {
|
||||
Add("OUTPUT frag_color0=result.color;");
|
||||
} else {
|
||||
Add("OUTPUT frag_color{}[]=result.color[{}];", index, index);
|
||||
Add("OUTPUT frag_color{}=result.color[{}];", index, index);
|
||||
}
|
||||
}
|
||||
for (size_t index = 0; index < program.info.stores_generics.size(); ++index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue