|
|
|
@ -175,7 +175,7 @@ static int Open(vlc_gl_t *gl, unsigned width, unsigned height, |
|
|
|
|
|
|
|
sys->hvideownd = wnd->handle.hwnd; |
|
|
|
sys->hGLDC = GetDC(sys->hvideownd); |
|
|
|
sys->hOpengl = LoadLibraryA("opengl32.dll"); |
|
|
|
sys->hOpengl = LoadLibraryExA("opengl32.dll", NULL, LOAD_LIBRARY_SEARCH_SYSTEM32); |
|
|
|
if (sys->hGLDC == NULL) |
|
|
|
{ |
|
|
|
msg_Err(gl, "Could not get the device context"); |
|
|
|
|