mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-23 01:34:58 +00:00
rollback changes to GX_SetViewportJitter
This commit is contained in:
parent
5c44eb8965
commit
50a7275acd
@ -246,7 +246,7 @@ void gx_set_video_mode(void *data, unsigned fbWidth, unsigned lines)
|
|||||||
VIDEO_SetBlack(false);
|
VIDEO_SetBlack(false);
|
||||||
VIDEO_Flush();
|
VIDEO_Flush();
|
||||||
|
|
||||||
__GX_SetViewportJitter(0, 0, gx_mode.fbWidth, gx_mode.efbHeight, 0, 1, 1);
|
GX_SetViewportJitter(0, 0, gx_mode.fbWidth, gx_mode.efbHeight, 0, 1, 1);
|
||||||
__GX_SetDispCopySrc(__gx, 0, 0, gx_mode.fbWidth, gx_mode.efbHeight);
|
__GX_SetDispCopySrc(__gx, 0, 0, gx_mode.fbWidth, gx_mode.efbHeight);
|
||||||
|
|
||||||
f32 y_scale = GX_GetYScaleFactor(gx_mode.efbHeight, gx_mode.xfbHeight);
|
f32 y_scale = GX_GetYScaleFactor(gx_mode.efbHeight, gx_mode.xfbHeight);
|
||||||
@ -757,7 +757,7 @@ static void gx_resize(struct __gx_regdef *__gx, void *data)
|
|||||||
gx->vp.width = width;
|
gx->vp.width = width;
|
||||||
gx->vp.height = height;
|
gx->vp.height = height;
|
||||||
|
|
||||||
__GX_SetViewportJitter(x, y, width, height, 0, 1, 1);
|
GX_SetViewportJitter(x, y, width, height, 0, 1, 1);
|
||||||
|
|
||||||
Mtx44 m1, m2;
|
Mtx44 m1, m2;
|
||||||
float top = 1, bottom = -1, left = -1, right = 1;
|
float top = 1, bottom = -1, left = -1, right = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user