wined3d: Skip match_allows_spec_alpha() 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 2018-05-03 00:04:03 +02:00 committed by Alexandre Julliard
parent 16c708c339
commit ac213630d9
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ static BOOL match_allows_spec_alpha(const struct wined3d_gl_info *gl_info, struc
GLenum error;
DWORD data[16];
if (!gl_info->supported[EXT_SECONDARY_COLOR])
if (!gl_info->supported[EXT_SECONDARY_COLOR] || !gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
return FALSE;
while (gl_info->gl_ops.gl.p_glGetError());