wined3d: Use draw_binding in wined3d_surface_blt().
This commit is contained in:
parent
99da66429b
commit
4673330cf4
|
@ -1686,9 +1686,9 @@ HRESULT CDECL wined3d_surface_blt(struct wined3d_surface *dst_surface, const REC
|
||||||
TRACE("Using FBO blit.\n");
|
TRACE("Using FBO blit.\n");
|
||||||
|
|
||||||
surface_blt_fbo(device, filter,
|
surface_blt_fbo(device, filter,
|
||||||
src_surface, SFLAG_INDRAWABLE, &src_rect,
|
src_surface, src_surface->draw_binding, &src_rect,
|
||||||
dst_surface, SFLAG_INDRAWABLE, &dst_rect);
|
dst_surface, dst_surface->draw_binding, &dst_rect);
|
||||||
surface_modify_location(dst_surface, SFLAG_INDRAWABLE, TRUE);
|
surface_modify_location(dst_surface, dst_surface->draw_binding, TRUE);
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue