From 8caf16a538caa9ccc6a657e0b754dd6581cf3b9b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 14 Sep 2014 19:30:44 +0200 Subject: [PATCH] (WGL) Build fix --- gfx/context/wgl_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/context/wgl_ctx.c b/gfx/context/wgl_ctx.c index e78d312c5b..f5788a46bd 100644 --- a/gfx/context/wgl_ctx.c +++ b/gfx/context/wgl_ctx.c @@ -563,8 +563,8 @@ static void gfx_ctx_input_driver(void *data, const input_driver_t **input, void { (void)data; dinput_wgl = input_dinput.init(); - *input = dinput ? &input_dinput : NULL; - *input_data = dinput; + *input = dinput_wgl ? &input_dinput : NULL; + *input_data = dinput_wgl; } static bool gfx_ctx_has_focus(void *data)