mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-07 03:56:12 +00:00
Merge pull request #2770 from dankcushions/master
Fix compilation error:
This commit is contained in:
commit
6a2449bd1e
@ -298,6 +298,15 @@ error:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void gfx_ctx_vc_set_swap_interval(void *data, unsigned swap_interval)
|
||||
{
|
||||
vc_ctx_data_t *vc = (vc_ctx_data_t*)data;
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
egl_set_swap_interval(&vc->egl, swap_interval);
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool gfx_ctx_vc_set_video_mode(void *data,
|
||||
unsigned width, unsigned height,
|
||||
bool fullscreen)
|
||||
@ -588,15 +597,6 @@ error:
|
||||
return false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_vc_set_swap_interval(void *data, unsigned swap_interval)
|
||||
{
|
||||
vc_ctx_data_t *vc = (vc_ctx_data_t*)data;
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
egl_set_swap_interval(&vc->egl, swap_interval);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void gfx_ctx_vc_swap_buffers(void *data)
|
||||
{
|
||||
vc_ctx_data_t *vc = (vc_ctx_data_t*)data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user