wined3d: Surfaces always have a container in arbfp_blit_set().

This commit is contained in:
Henri Verbeet 2013-11-20 10:04:31 +01:00 committed by Alexandre Julliard
parent ad6a194aa0
commit e64b19387b
1 changed files with 1 additions and 6 deletions

View File

@ -7302,12 +7302,7 @@ static HRESULT arbfp_blit_set(void *blit_priv, struct wined3d_context *context,
struct arbfp_blit_priv *priv = blit_priv;
enum complex_fixup fixup;
const struct wined3d_gl_info *gl_info = context->gl_info;
GLenum textype;
if (surface->container)
textype = surface->container->target;
else
textype = surface->texture_target;
GLenum textype = surface->container->target;
if (surface->flags & SFLAG_CONVERTED)
{