[PATCH 08/10] wined3d: Reject color fills on sysmem surfaces in ffp_blit_supported().
Henri Verbeet
hverbeet at codeweavers.com
Sun Aug 21 14:34:58 CDT 2011
---
dlls/wined3d/surface.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 087196c..9b02177 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)))
--
1.7.3.4
More information about the wine-patches
mailing list