mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 11:10:27 +00:00
Reorder static functions in vivante context
This commit is contained in:
parent
0e4a8dfd97
commit
0863a8eb84
@ -94,6 +94,16 @@ error:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void gfx_ctx_vivante_get_video_size(void *data,
|
||||
unsigned *width, unsigned *height)
|
||||
{
|
||||
vivante_ctx_data_t *viv = (vivante_ctx_data_t*)data;
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
egl_get_video_size(&viv->egl, width, height);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void gfx_ctx_vivante_check_window(void *data, bool *quit,
|
||||
bool *resize, unsigned *width, unsigned *height, unsigned frame_count)
|
||||
{
|
||||
@ -251,16 +261,6 @@ static void gfx_ctx_vivante_swap_buffers(void *data)
|
||||
#endif
|
||||
}
|
||||
|
||||
static void gfx_ctx_vivante_get_video_size(void *data,
|
||||
unsigned *width, unsigned *height)
|
||||
{
|
||||
vivante_ctx_data_t *viv = (vivante_ctx_data_t*)data;
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
egl_get_video_size(&viv->egl, width, height);
|
||||
#endif
|
||||
}
|
||||
|
||||
const gfx_ctx_driver_t gfx_ctx_vivante_fbdev = {
|
||||
gfx_ctx_vivante_init,
|
||||
gfx_ctx_vivante_destroy,
|
||||
|
Loading…
Reference in New Issue
Block a user