aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_framebuffer.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-05-09 13:58:42 +0100
committerJosé Fonseca <[email protected]>2011-05-10 16:13:05 +0100
commita67ecfeebc522bd2021160ba68cf59299cd4d9de (patch)
tree603470e7616d583945d364b15e599edc44be4d44 /src/gallium/state_trackers/wgl/stw_framebuffer.c
parentd6b248652a7b2c9c3e83a5f2188ce0ac77176bf0 (diff)
st/wgl: Remove buggy assertion.
The assertion is wrong, now that state tracker can cope with a window with zero width or height.
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_framebuffer.c')
-rw-r--r--src/gallium/state_trackers/wgl/stw_framebuffer.c2
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 4033365bfbe..7a689f9977d 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;
}