mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Nit.
This commit is contained in:
parent
ef0ab68c4b
commit
5989fa0405
2
gfx/gl.c
2
gfx/gl.c
@ -796,7 +796,7 @@ static void gl_update_input_size(gl_t *gl, unsigned width, unsigned height, unsi
|
|||||||
#ifdef __CELLOS_LV2__
|
#ifdef __CELLOS_LV2__
|
||||||
static void gl_copy_frame(gl_t *gl, const void *frame, unsigned width, unsigned height, unsigned pitch)
|
static void gl_copy_frame(gl_t *gl, const void *frame, unsigned width, unsigned height, unsigned pitch)
|
||||||
{
|
{
|
||||||
if(!gl->fbo_inited)
|
if (!gl->fbo_inited)
|
||||||
gl_set_viewport(gl, gl->win_width, gl->win_height, false, true);
|
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_addr = gl->tex_w * gl->tex_h * gl->tex_index * gl->base_size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user