Module: Mesa
Branch: 7.10
Commit: 195e15559e238f626f2009380bfb4a74117970e2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=195e15559e238f626f2009380bfb4a74117970e2

Author: José Fonseca <[email protected]>
Date:   Mon May  9 13:58:42 2011 +0100

st/wgl: Remove buggy assertion.

The assertion is wrong, now that state tracker can cope with a window with
zero width or height.

---

 src/gallium/state_trackers/wgl/stw_framebuffer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.c 
b/src/gallium/state_trackers/wgl/stw_framebuffer.c
index 4033365..7a689f9 100644
--- a/src/gallium/state_trackers/wgl/stw_framebuffer.c
+++ b/src/gallium/state_trackers/wgl/stw_framebuffer.c
@@ -146,8 +146,6 @@ stw_framebuffer_get_size( struct stw_framebuffer *fb )
        * maximized again.
        */
 
-      assert(width == 0 && height == 0);
-
       return;
    }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to