(WGL) Go through dylib_load

This commit is contained in:
twinaphex 2015-04-08 19:52:15 +02:00
parent 371ed277a9
commit 03af36ba64

View File

@ -111,7 +111,7 @@ static void create_gl_context(HWND hwnd)
bool debug = global->system.hw_render_callback.debug_context;
#ifdef _WIN32
dll_handle = LoadLibrary("OpenGL32.dll");
dll_handle = (HINSTANCE)dylib_load("OpenGL32.dll");
#endif
g_hdc = GetDC(hwnd);