wined3d: Call glGetIntegerv() through the gl_info function pointer.

Fixes a1e718ccab.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-09-27 00:04:15 +02:00 committed by Alexandre Julliard
parent b877d4177f
commit bbab63cfcf
1 changed files with 1 additions and 1 deletions

View File

@ -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)