[PATCH 6/6] wined3d: Do not warn about WINED3DUSAGE_WRITEONLY.

Stefan Dösinger stefan at codeweavers.com
Tue Jun 3 02:41:44 CDT 2014


As the previous tests show, we can't do anything with this flag. The
amount of noise and user confusion this FIXME generates is in no
relation to the severity of us not handling this performance hint.
---
 dlls/wined3d/resource.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/resource.c b/dlls/wined3d/resource.c
index 999dc5c..664c3b1 100644
--- a/dlls/wined3d/resource.c
+++ b/dlls/wined3d/resource.c
@@ -51,6 +51,7 @@ static void resource_check_usage(DWORD usage)
 {
     static const DWORD handled = WINED3DUSAGE_RENDERTARGET
             | WINED3DUSAGE_DEPTHSTENCIL
+            | WINED3DUSAGE_WRITEONLY
             | WINED3DUSAGE_DYNAMIC
             | WINED3DUSAGE_AUTOGENMIPMAP
             | WINED3DUSAGE_STATICDECL
-- 
1.8.5.5




More information about the wine-patches mailing list