wined3d: Don't query aux buffers count on core profile.

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 2017-02-07 22:08:40 +01:00 committed by Alexandre Julliard
parent 6b2dbe6cf6
commit e99937ef51
1 changed files with 2 additions and 1 deletions

View File

@ -1908,7 +1908,8 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
} }
} }
gl_info->gl_ops.gl.p_glGetIntegerv(GL_AUX_BUFFERS, &ret->aux_buffers); if (gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
gl_info->gl_ops.gl.p_glGetIntegerv(GL_AUX_BUFFERS, &ret->aux_buffers);
TRACE("Setting up the screen\n"); TRACE("Setting up the screen\n");