mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
commit
ec82db21d2
@ -239,8 +239,9 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
||||
const float rad = vita->rotation * radian;
|
||||
float scalex = vita->vp.width / (float)vita->width;
|
||||
float scaley = vita->vp.height / (float)vita->height;
|
||||
vita2d_draw_texture_scale_rotate(vita->texture, vita->vp.x,
|
||||
vita->vp.y, scalex, scaley, rad);
|
||||
vita2d_draw_texture_scale_rotate(vita->texture,
|
||||
vita->vp.x + PSP_FB_WIDTH / (float)vita->width,
|
||||
vita->vp.y + PSP_FB_HEIGHT / (float)vita->height, scalex, scaley, rad);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user