diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 7f5e821804..a4e434db7b 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -2529,6 +2529,8 @@ static void gl_unload_texture(void *data, uintptr_t id) } static const video_poke_interface_t gl_poke_interface = { + NULL, /* set_coords */ + NULL, /* set_mvp */ gl_load_texture, gl_unload_texture, gl_set_video_mode, diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 15f320b892..2aa2a49376 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2483,7 +2483,7 @@ static bool video_driver_cb_set_coords(void *handle_data, } #endif -bool video_driver_set_coords_fallback(void *handle_data, +static bool video_driver_set_coords_fallback(void *handle_data, void *shader_data, const struct video_coords *coords) { #ifdef HAVE_OPENGL diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 488a4a9d10..90cc0484cf 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -1304,9 +1304,6 @@ bool renderchain_gl_init_first( const gl_renderchain_driver_t **renderchain_driver, void **renderchain_handle); -bool video_driver_set_coords_fallback(void *handle_data, - void *shader_data, const struct video_coords *coords); - extern bool (*video_driver_cb_has_focus)(void); extern shader_backend_t *current_shader;