From cb7b6ef45c14ef43f5b0cca47593aef19a7c1db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Thu, 19 Feb 2015 23:08:08 -0300 Subject: [PATCH] (gl.c) Fix undefined gl_get_proc_address --- gfx/drivers/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 753d6a59ca..1a4ee5d64c 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -2969,6 +2969,7 @@ static uintptr_t gl_get_current_framebuffer(void *data) gl_t *gl = (gl_t*)data; return gl->hw_render_fbo[(gl->tex_index + 1) % gl->textures]; } +#endif static retro_proc_address_t gl_get_proc_address(void *data, const char *sym) { @@ -2976,7 +2977,6 @@ static retro_proc_address_t gl_get_proc_address(void *data, const char *sym) return gl->ctx_driver->get_proc_address(sym); } -#endif static void gl_set_aspect_ratio(void *data, unsigned aspect_ratio_idx) {