wined3d: Skip match_broken_arb_fog() quirk check 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
ede35244d7
commit
064bf225a0
|
@ -854,6 +854,8 @@ static BOOL match_broken_arb_fog(const struct wined3d_gl_info *gl_info, struct w
|
|||
return FALSE;
|
||||
if (!gl_info->supported[ARB_FRAGMENT_PROGRAM])
|
||||
return FALSE;
|
||||
if (!gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
|
||||
return FALSE;
|
||||
|
||||
gl_info->gl_ops.gl.p_glGenTextures(1, &tex);
|
||||
gl_info->gl_ops.gl.p_glBindTexture(GL_TEXTURE_2D, tex);
|
||||
|
|
Loading…
Reference in New Issue