wined3d: Surfaces always have a container in arbfp_blit_set().
This commit is contained in:
parent
ad6a194aa0
commit
e64b19387b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue