From 7b96ee1a31b38498b07b9a499fcb715d247362dc Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Tue, 6 Aug 2019 22:01:49 -0400 Subject: [PATCH] windows buildfix --- gfx/drivers_context/wgl_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wgl_ctx.c b/gfx/drivers_context/wgl_ctx.c index 26f598af06..2cd6caa2a3 100644 --- a/gfx/drivers_context/wgl_ctx.c +++ b/gfx/drivers_context/wgl_ctx.c @@ -319,7 +319,7 @@ static void create_gl_context(HWND hwnd, bool *quit) } else { - if (versions[i][0] == g_major && versions[i][1] == g_minor) + if (versions[i][0] == win32_major && versions[i][1] == win32_minor) { /* The requested version is not supported, go ahead and fail since everything else will be lower than that. */ break;