From ef0ab68c4b04824a4e24e2726e7d7c6474033b14 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 28 May 2012 00:06:18 +0200 Subject: [PATCH] (PS3) Applies overscan / aspect ratio / rotation in non-FBO mode now --- gfx/gl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 7a2a58643b..89a95246a2 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -796,6 +796,9 @@ static void gl_update_input_size(gl_t *gl, unsigned width, unsigned height, unsi #ifdef __CELLOS_LV2__ static void gl_copy_frame(gl_t *gl, const void *frame, unsigned width, unsigned height, unsigned pitch) { + if(!gl->fbo_inited) + gl_set_viewport(gl, gl->win_width, gl->win_height, false, true); + size_t buffer_addr = gl->tex_w * gl->tex_h * gl->tex_index * gl->base_size; size_t buffer_stride = gl->tex_w * gl->base_size; const uint8_t *frame_copy = frame;