From a887128ffddf4d44569cd8480387409533c95e5b Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 21 Aug 2011 21:34:58 +0200 Subject: [PATCH] wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported(). --- dlls/wined3d/surface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 087196cf6a8..9b0217795d7 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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))) -- 2.11.4.GIT