mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wined3d: Refuse blits between height-scaled formats in the CPU blitter.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
842115bbb8
commit
374c58ccb1
1 changed files with 8 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue