Commit e64b1938 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent ad6a194a
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment