Skip to content

Commit

Permalink
Fix image rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
marioCST committed Aug 22, 2024
1 parent 365e3ef commit bf993cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace SDK {

void drawImage(TexturePtr const& texture, Vec2 const& pos, Vec2 const& size, Vec2 const& uvPos, Vec2 const& uvSize) {
if (internalVers >= V1_21_20) {
memory::callVirtual<void>(this, 7, texture, pos, size, uvPos, uvSize, false);
memory::callVirtual<void, TexturePtr const&, Vec2 const&, Vec2 const&, Vec2 const&, Vec2 const&, bool>(this, 7, texture, pos, size, uvPos, uvSize, false);
}
else {
memory::callVirtual<void>(this, 7, texture, pos, size, uvPos, uvSize);
Expand Down

0 comments on commit bf993cb

Please sign in to comment.