mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Merge pull request #2975 from t-paul/vg-compile-fix
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
This commit is contained in:
commit
6ca2223671
@ -70,7 +70,7 @@ static PFNVGCREATEEGLIMAGETARGETKHRPROC pvgCreateEGLImageTargetKHR;
|
|||||||
static void vg_set_nonblock_state(void *data, bool state)
|
static void vg_set_nonblock_state(void *data, bool state)
|
||||||
{
|
{
|
||||||
unsigned interval = state ? 0 : 1;
|
unsigned interval = state ? 0 : 1;
|
||||||
video_context_driver_set_swap_interval(&interval);
|
video_context_driver_swap_interval(&interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
static INLINE bool vg_query_extension(const char *ext)
|
static INLINE bool vg_query_extension(const char *ext)
|
||||||
@ -137,7 +137,7 @@ static void *vg_init(const video_info_t *video,
|
|||||||
mode.height = win_height;
|
mode.height = win_height;
|
||||||
mode.fullscreen = video->fullscreen;
|
mode.fullscreen = video->fullscreen;
|
||||||
|
|
||||||
if (!vidoe_context_driver_set_video_mode(&mode))
|
if (!video_context_driver_set_video_mode(&mode))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
video_driver_get_size(&temp_width, &temp_height);
|
video_driver_get_size(&temp_width, &temp_height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user