mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported().
This commit is contained in:
parent
18434ddc57
commit
a887128ffd
@ -6367,6 +6367,9 @@ static BOOL ffp_blit_supported(const struct wined3d_gl_info *gl_info, enum wined
|
||||
return FALSE;
|
||||
|
||||
case WINED3D_BLIT_OP_COLOR_FILL:
|
||||
if (dst_pool == WINED3DPOOL_SYSTEMMEM)
|
||||
return FALSE;
|
||||
|
||||
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO)
|
||||
{
|
||||
if (!((dst_format->flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET)))
|
||||
|
Loading…
Reference in New Issue
Block a user