Skip to content

Commit bc8e034

Browse files
committed
Fix conversion
1 parent 68e9a6b commit bc8e034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/raylib-aseprite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void DrawAsepriteEx(Aseprite aseprite, int frame, Vector2 position, float rotati
394394

395395
Rectangle source = {(float)(frame * ase->w), 0, (float)ase->w, (float)ase->h};
396396
Texture2D texture = GetAsepriteTexture(aseprite);
397-
Rectangle dest = {(float)position.x, (float)position.y, (float)(ase->w * scale), (float)(ase->h * scale)};
397+
Rectangle dest = {(float)position.x, (float)position.y, (float)ase->w * scale, (float)ase->h * scale};
398398
Vector2 origin = {0, 0};
399399
DrawTexturePro(texture, source, dest, origin, rotation, tint); // Draw a part of a texture defined by a rectangle with 'pro' parameters
400400
}

0 commit comments

Comments
 (0)