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:
parent
6b2dbe6cf6
commit
e99937ef51
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue