Roderick Colenbrander : wined3d: Add a missing break to blt_to_drawable.

Alexandre Julliard julliard at winehq.org
Mon Mar 24 07:54:54 CDT 2008


Module: wine
Branch: master
Commit: 3771341774abcc1cef5d970ae21daeb301262d98
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3771341774abcc1cef5d970ae21daeb301262d98

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Fri Mar 21 23:23:58 2008 +0000

wined3d: Add a missing break to blt_to_drawable.

---

 dlls/wined3d/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 413d3af..ed98a33 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3871,6 +3871,7 @@ static inline void surface_blt_to_drawable(IWineD3DSurfaceImpl *This, const RECT
                 coords[1].x =  1;   coords[1].y = -1;   coords[1].z = -1;
                 coords[2].x =  1;   coords[2].y = -1;   coords[2].z = -1;
                 coords[3].x = -1;   coords[3].y = -1;   coords[3].z = -1;
+                break;
 
             default:
                 ERR("Unexpected texture target\n");




More information about the wine-cvs mailing list