mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Return true for stub read_viewport function implementations
This commit is contained in:
parent
e84db78571
commit
4162311eb7
@ -1472,7 +1472,7 @@ static bool exynos_gfx_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const video_driver_t video_exynos = {
|
const video_driver_t video_exynos = {
|
||||||
|
@ -1128,6 +1128,13 @@ static void gx_viewport_info(void *data, struct rarch_viewport *vp)
|
|||||||
*vp = gx->vp;
|
*vp = gx->vp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool gx_read_viewport(void *data, uint8_t *buffer)
|
||||||
|
{
|
||||||
|
(void)data;
|
||||||
|
(void)buffer;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t gx_poke_interface = {
|
static const video_poke_interface_t gx_poke_interface = {
|
||||||
NULL,
|
NULL,
|
||||||
gx_set_aspect_ratio,
|
gx_set_aspect_ratio,
|
||||||
@ -1333,7 +1340,7 @@ const video_driver_t video_gx = {
|
|||||||
"gx",
|
"gx",
|
||||||
gx_set_rotation,
|
gx_set_rotation,
|
||||||
gx_viewport_info,
|
gx_viewport_info,
|
||||||
NULL,
|
gx_read_viewport,
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
gx_get_overlay_interface,
|
gx_get_overlay_interface,
|
||||||
#endif
|
#endif
|
||||||
|
@ -91,7 +91,7 @@ static bool null_gfx_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void null_gfx_get_poke_interface(void *data,
|
static void null_gfx_get_poke_interface(void *data,
|
||||||
|
@ -900,7 +900,7 @@ static bool omap_gfx_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void omap_gfx_get_poke_interface(void *data,
|
static void omap_gfx_get_poke_interface(void *data,
|
||||||
|
@ -773,7 +773,7 @@ static void psp_viewport_info(void *data, struct rarch_viewport *vp)
|
|||||||
|
|
||||||
static bool psp_read_viewport(void *data, uint8_t *buffer)
|
static bool psp_read_viewport(void *data, uint8_t *buffer)
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t psp_poke_interface = {
|
static const video_poke_interface_t psp_poke_interface = {
|
||||||
|
@ -513,7 +513,7 @@ static bool sdl_gfx_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const video_driver_t video_sdl = {
|
const video_driver_t video_sdl = {
|
||||||
|
2
gfx/vg.c
2
gfx/vg.c
@ -441,7 +441,7 @@ static bool vg_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vg_get_poke_interface(void *data,
|
static void vg_get_poke_interface(void *data,
|
||||||
|
@ -290,7 +290,7 @@ static bool xenon360_gfx_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xenon360_gfx_get_poke_interface(void *data,
|
static void xenon360_gfx_get_poke_interface(void *data,
|
||||||
|
@ -820,7 +820,7 @@ static bool xv_read_viewport(void *data, uint8_t *buffer)
|
|||||||
(void)data;
|
(void)data;
|
||||||
(void)buffer;
|
(void)buffer;
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xv_get_poke_interface(void *data,
|
static void xv_get_poke_interface(void *data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user