Module: wine Branch: master Commit: bbab63cfcf8834820be631fe2d599bf4550331a3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbab63cfcf8834820be631fe2d...
Author: Matteo Bruni mbruni@codeweavers.com Date: Tue Sep 27 00:04:15 2016 +0200
wined3d: Call glGetIntegerv() through the gl_info function pointer.
Fixes a1e718ccabc7c330dd16c7face78022965b03e20.
Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/directx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 7ab68aa..05e04e8 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -3629,7 +3629,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter, DWORD
if (gl_version >= MAKEDWORD_VERSION(3, 2)) { - glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &context_profile); + gl_info->gl_ops.gl.p_glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &context_profile); checkGLcall("Querying context profile"); } if (context_profile & GL_CONTEXT_CORE_PROFILE_BIT)