Skip to content

Commit

Permalink
fix(rendering): replace reserved keyword in gizmos id shader
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas7770 committed Jan 29, 2024
1 parent c7d9aeb commit 1c1254c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/src/cubos/engine/gizmos/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ void GizmosRenderer::initIdPipeline()
uniform uint gizmo;
out uvec2 output;
out uvec2 idOutput;
void main()
{
output.r = (gizmo >> 16U);
output.g = (gizmo & 65535U);
idOutput.r = (gizmo >> 16U);
idOutput.g = (gizmo & 65535U);
}
)");

Expand Down

0 comments on commit 1c1254c

Please sign in to comment.