From 84588a1527988795314461079b7c5e85eb01e019 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 2 Aug 2016 03:12:48 +0200 Subject: [PATCH] (GL) Move more code --- gfx/drivers/gl.c | 2 +- gfx/drivers/gl_renderchains/render_chain_driver.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 7849cf3b30..1231c9a2ae 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -122,7 +122,7 @@ bool gl_query_core_context_in_use(void) return gl_core_context; } -static INLINE void context_bind_hw_render(bool enable) +void context_bind_hw_render(bool enable) { if (gl_shared_context_use) video_context_driver_bind_hw_render(&enable); diff --git a/gfx/drivers/gl_renderchains/render_chain_driver.h b/gfx/drivers/gl_renderchains/render_chain_driver.h index 996983e12f..3ded1aed93 100644 --- a/gfx/drivers/gl_renderchains/render_chain_driver.h +++ b/gfx/drivers/gl_renderchains/render_chain_driver.h @@ -98,6 +98,8 @@ bool gl_init_hw_render(gl_t *gl, unsigned width, unsigned height); bool gl_check_capability(enum gl_capability_enum enum_idx); +void context_bind_hw_render(bool enable); + RETRO_END_DECLS #endif