changed mlx_put_transformed_image_to_window to use float position

This commit is contained in:
Daemo
2026-08-12 19:25:09 +02:00
parent 63fe3088bf
commit 42f0d52bfa
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ extern "C"
texture->SetRegion(x, y, w, h, pixels);
}
void mlx_put_transformed_image_to_window(mlx_context mlx, mlx_window win, mlx_image image, int x, int y, float scale_x, float scale_y, float angle)
void mlx_put_transformed_image_to_window(mlx_context mlx, mlx_window win, mlx_image image, float x, float y, float scale_x, float scale_y, float angle)
{
MLX_CHECK_APPLICATION_POINTER(mlx);
mlx::NonOwningPtr<mlx::GraphicsSupport> gs = mlx->app->GetGraphicsSupport(win);