mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +00:00
(gl.c) Fix undefined gl_get_proc_address
This commit is contained in:
parent
e198b0e347
commit
cb7b6ef45c
@ -2969,6 +2969,7 @@ static uintptr_t gl_get_current_framebuffer(void *data)
|
|||||||
gl_t *gl = (gl_t*)data;
|
gl_t *gl = (gl_t*)data;
|
||||||
return gl->hw_render_fbo[(gl->tex_index + 1) % gl->textures];
|
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)
|
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);
|
return gl->ctx_driver->get_proc_address(sym);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void gl_set_aspect_ratio(void *data, unsigned aspect_ratio_idx)
|
static void gl_set_aspect_ratio(void *data, unsigned aspect_ratio_idx)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user