Merge pull request #10683 from barbudreadmon/patch-5

(vita) try at fixing upside-down vertical games
This commit is contained in:
Autechre 2020-05-22 16:47:17 +02:00 committed by GitHub
commit 00d7c40c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
PSP_FB_HEIGHT / (float)vita->height);
else
{
const float radian = 90 * 0.0174532925f;
const float radian = 270 * 0.0174532925f;
const float rad = vita->rotation * radian;
float scalex = vita->vp.width / (float)vita->width;
float scaley = vita->vp.height / (float)vita->height;