wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported().

This commit is contained in:
Henri Verbeet 2011-08-21 21:34:58 +02:00 committed by Alexandre Julliard
parent 18434ddc57
commit a887128ffd
1 changed files with 3 additions and 0 deletions

View File

@ -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)))