wined3d: Disable GL_TEXTURE_2D again in check_filter().
To avoid breaking subsequent tests. In particular wined3d_adapter_find_polyoffset_scale() when draw_test_quad() isn't using GLSL. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6cd9c7ffb5
commit
b515f28007
|
@ -3021,6 +3021,7 @@ static BOOL check_filter(const struct wined3d_gl_info *gl_info, GLenum internal)
|
|||
gl_info->fbo_ops.glDeleteFramebuffers(1, &fbo);
|
||||
gl_info->gl_ops.gl.p_glDeleteTextures(1, &tex);
|
||||
gl_info->gl_ops.gl.p_glDeleteTextures(1, &buffer);
|
||||
gl_info->gl_ops.gl.p_glDisable(GL_TEXTURE_2D);
|
||||
|
||||
if (gl_info->gl_ops.gl.p_glGetError())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue