From 737e2832f2469ca541f57419332ee2e35ef34424 Mon Sep 17 00:00:00 2001 From: Torsten Paul Date: Sun, 8 May 2016 21:55:46 +0200 Subject: [PATCH] Fix typos in VideoCore driver causing compile error on Raspberry Pi. --- gfx/drivers/vg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/vg.c b/gfx/drivers/vg.c index ba1e91198c..59bc5831c1 100644 --- a/gfx/drivers/vg.c +++ b/gfx/drivers/vg.c @@ -70,7 +70,7 @@ static PFNVGCREATEEGLIMAGETARGETKHRPROC pvgCreateEGLImageTargetKHR; static void vg_set_nonblock_state(void *data, bool state) { 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) @@ -137,7 +137,7 @@ static void *vg_init(const video_info_t *video, mode.height = win_height; mode.fullscreen = video->fullscreen; - if (!vidoe_context_driver_set_video_mode(&mode)) + if (!video_context_driver_set_video_mode(&mode)) goto error; video_driver_get_size(&temp_width, &temp_height);