Commit 374c58cc authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Refuse blits between height-scaled formats in the CPU blitter.

parent 842115bb
......@@ -853,6 +853,14 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
goto release;
}
if ((src_fmt_flags | dst_fmt_flags) & WINED3DFMT_FLAG_HEIGHT_SCALE)
{
FIXME("Unsupported blit between height-scaled formats (src %s, dst %s).\n",
debug_d3dformat(src_format->id), debug_d3dformat(dst_format->id));
hr = E_NOTIMPL;
goto release;
}
if (filter != WINED3D_TEXF_NONE && filter != WINED3D_TEXF_POINT
&& (src_width != dst_width || src_height != dst_height))
{
......
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