Module: wine Branch: master Commit: c2e316a3e6afaf1eea05a9f86f9e5275cbfcf9e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c2e316a3e6afaf1eea05a9f86f...
Author: Ruslan Kabatsayev b7.10110111@gmail.com Date: Fri Sep 2 12:40:19 2016 +0200
wined3d: Initialise p_wglGetPixelFormat when USE_WIN32_OPENGL is defined.
This fixes a regression introduced by commit b53256b8b752855576252cc2290dfbc9cb0f1280.
Signed-off-by: Ruslan Kabatsayev b7.10110111@gmail.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 */