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:
parent
16c708c339
commit
ac213630d9
|
@ -674,7 +674,7 @@ static BOOL match_allows_spec_alpha(const struct wined3d_gl_info *gl_info, struc
|
||||||
GLenum error;
|
GLenum error;
|
||||||
DWORD data[16];
|
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;
|
return FALSE;
|
||||||
|
|
||||||
while (gl_info->gl_ops.gl.p_glGetError());
|
while (gl_info->gl_ops.gl.p_glGetError());
|
||||||
|
|
Loading…
Reference in New Issue