From 5614a77ceca5c6a2719c878ba8c12af9ba6c6160 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 19 Apr 2014 16:25:27 +0200 Subject: [PATCH] Build fix. --- gfx/context/wgl_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/context/wgl_ctx.c b/gfx/context/wgl_ctx.c index 6420b6972d..90e87b7f63 100644 --- a/gfx/context/wgl_ctx.c +++ b/gfx/context/wgl_ctx.c @@ -591,7 +591,7 @@ static void gfx_ctx_show_mouse(void *data, bool state) static void gfx_ctx_bind_hw_render(void *data, bool enable) { - g_use_hw_render = enable; + g_use_hw_ctx = enable; if (g_hdc) wglMakeCurrent(g_hdc, enable ? g_hw_hrc : g_hrc); }