From 227d1312e6a7d5ec46d29ad4d13d434736e70f71 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Jul 2015 13:52:56 -0700 Subject: [PATCH] Look for GL 1.1 functions in win32's OpenGL32.dll. The windows ABI is GL 1.1, not 1.0. You get NULL pointers for 1.1 functions when calling wglGetProcAddress(). Fixes #47. --- src/dispatch_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index ece0b0b..483782c 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -527,7 +527,7 @@ void * epoxy_get_core_proc_address(const char *name, int core_version) { #ifdef _WIN32 - int core_symbol_support = 10; + int core_symbol_support = 11; #elif defined(ANDROID) /** * All symbols must be resolved through eglGetProcAddress