From: Ruslan Kabatsayev Subject: Do obtain address of wglGetPixelFormat before calling it Message-Id: <57c916cf.47212e0a.ea8da.6d90@mx.google.com> Date: Fri, 2 Sep 2016 09:01:05 +0300 This was apparently forgotten to be done in commit b53256b8. Fixes bug #41224. Signed-off-by: Ruslan Kabatsayev --- dlls/wined3d/directx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 4213df3..b97cd78 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -6143,6 +6143,7 @@ static BOOL wined3d_adapter_init(struct wined3d_adapter *adapter, UINT ordinal, ALL_WGL_FUNCS #undef USE_GL_FUNC gl_info->gl_ops.wgl.p_wglSwapBuffers = (void *)GetProcAddress(mod_gl, "wglSwapBuffers"); + gl_info->gl_ops.wgl.p_wglGetPixelFormat = (void *)GetProcAddress(mod_gl, "wglGetPixelFormat"); } #else /* To bypass the opengl32 thunks retrieve functions from the WGL driver instead of opengl32 */ -- 1.9.1