Skip to content

Commit

Permalink
[Metal] Fixed typo in IndirectDraw example Metal shader.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Jun 10, 2024
1 parent e959c4b commit 525551e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Cpp/IndirectDraw/Example.metal
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ vertex VOut VS(
{
VOut outp;
float2x2 rotation = float2x2(inp.rotation0, inp.rotation1);
outp.position = float4((rotation * inp.coord + inp.position) * float2(sceneState, 1.0), 0, 1);
outp.position = float4((rotation * inp.coord + inp.position) * float2(sceneState.aspectRatio, 1.0), 0, 1);
outp.color = inp.color;
return outp;
}
Expand Down

0 comments on commit 525551e

Please sign in to comment.