Skip to content

Commit

Permalink
fix: image quad cannot correctly applying rotation matrix. (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
DokaebiYe authored Dec 16, 2024
1 parent 27dd00c commit 7a5281b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mvDrawings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ void mvDrawImageQuad::draw(ImDrawList* drawlist, float x, float y)
else
{
mvVec2 start = { x, y };
drawlist->AddImageQuad(texture, tp1 + start, tp2 + start, tp3.xy(), tp4.xy(), _uv1, _uv2, _uv3, _uv4, _color);
drawlist->AddImageQuad(texture, tp1 + start, tp2 + start, tp3 + start, tp4 + start, _uv1, _uv2, _uv3, _uv4, _color);
}
}
}
Expand Down

0 comments on commit 7a5281b

Please sign in to comment.