wined3d: Fix depth blit regression.
authorRoderick Colenbrander <thunderbird2k@gmail.com>
Sun, 21 Mar 2010 15:42:03 +0000 (16:42 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Mar 2010 10:40:40 +0000 (11:40 +0100)
dlls/wined3d/surface.c

index 54eb6ec7fae12ee25d3e807a495eba6a3699ff31..9850731dfcb6a2fe07677cb4b35dfd668fb7c87f 100644 (file)
@@ -158,9 +158,9 @@ static void surface_get_blt_info(GLenum target, const RECT *rect_in, GLsizei w,
     else
     {
         rect.left = 0;
-        rect.top = 0;
+        rect.top = h;
         rect.right = w;
-        rect.bottom = h;
+        rect.bottom = 0;
     }
 
     switch (target)