Skip to content

Commit

Permalink
dep/reshadefx: Fix UBO reference with OpenGL
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jun 23, 2024
1 parent 1797050 commit b8ed013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dep/reshadefx/src/effect_codegen_glsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class codegen_glsl final : public codegen
}
else
{
preamble += "layout(std140, binding = 1) uniform _Globals {\n" + _ubo_block + "};\n";
preamble += "layout(std140, binding = 0) uniform _Globals {\n" + _ubo_block + "};\n";
}
}

Expand Down

0 comments on commit b8ed013

Please sign in to comment.