[PATCH 1/6] wined3d: Add a missing break.

Stefan Dösinger stefan at codeweavers.com
Fri Jan 17 06:27:13 CST 2014


---
 dlls/wined3d/surface.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 015478f..1b61cb5 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -598,6 +598,7 @@ void surface_prepare_map_memory(struct wined3d_surface *surface)
         case SFLAG_INDIB:
             if (!surface->dib.bitmap_data)
                 ERR("Map binding is set to SFLAG_INDIB but surface->dib.bitmap_data is NULL.\n");
+            break;
 
         case SFLAG_INSYSMEM:
             surface_prepare_system_memory(surface);
-- 
1.8.3.2




More information about the wine-patches mailing list