From: José Fonseca Date: Mon, 9 May 2011 12:58:42 +0000 (+0100) Subject: st/wgl: Remove buggy assertion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a67ecfeebc522bd2021160ba68cf59299cd4d9de;p=mesa.git st/wgl: Remove buggy assertion. The assertion is wrong, now that state tracker can cope with a window with zero width or height. --- 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; }