mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 07:21:15 +00:00
Removed unused variable. Changed a function type.
This commit is contained in:
parent
98e6522f3f
commit
430f7854d9
@ -199,7 +199,7 @@ static void dispmanx_surface_free(void *data, struct dispmanx_surface *surface)
|
|||||||
surface->setup = false;
|
surface->setup = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool dispmanx_surface_setup(void *data, int width, int height, int pitch, float aspect,
|
static void dispmanx_surface_setup(void *data, int width, int height, int pitch, float aspect,
|
||||||
struct dispmanx_surface *surface)
|
struct dispmanx_surface *surface)
|
||||||
{
|
{
|
||||||
struct dispmanx_video *_dispvars = data;
|
struct dispmanx_video *_dispvars = data;
|
||||||
@ -258,8 +258,6 @@ static bool dispmanx_surface_setup(void *data, int width, int height, int pitch,
|
|||||||
vc_dispmanx_update_submit_sync(_dispvars->update);
|
vc_dispmanx_update_submit_sync(_dispvars->update);
|
||||||
|
|
||||||
surface->setup = true;
|
surface->setup = true;
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dispmanx_surface_init(void *data,
|
static void dispmanx_surface_init(void *data,
|
||||||
@ -271,7 +269,6 @@ static void dispmanx_surface_init(void *data,
|
|||||||
struct dispmanx_surface *surface)
|
struct dispmanx_surface *surface)
|
||||||
{
|
{
|
||||||
struct dispmanx_video *_dispvars = data;
|
struct dispmanx_video *_dispvars = data;
|
||||||
int i;
|
|
||||||
|
|
||||||
/* Setup surface parameters */
|
/* Setup surface parameters */
|
||||||
surface->numpages = numpages;
|
surface->numpages = numpages;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user