[PATCH 2/5] wined3d: Drop a questionable FIXME in device_stream_info_from_declaration().

Henri Verbeet hverbeet at codeweavers.com
Wed Mar 28 13:22:37 CDT 2012


I'm not sure this FIXME makes a lot of sense to start with, but even if it
does this wouldn't be the right place.
---
 dlls/wined3d/device.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 4cc80ad..839e28c 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -239,18 +239,6 @@ void device_stream_info_from_declaration(struct wined3d_device *device,
             {
                 if (data.buffer_object)
                     *fixup = TRUE;
-                else if (*fixup && !use_vshader
-                        && (element->usage == WINED3D_DECL_USAGE_COLOR
-                        || element->usage == WINED3D_DECL_USAGE_POSITIONT))
-                {
-                    static BOOL warned = FALSE;
-                    if (!warned)
-                    {
-                        /* This may be bad with the fixed function pipeline. */
-                        FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
-                        warned = TRUE;
-                    }
-                }
             }
         }
         data.addr += element->offset;
-- 
1.7.3.4




More information about the wine-patches mailing list