wgl: Don't flush surface if it is NULL.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 27 Mar 2009 21:43:24 +0000 (21:43 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 27 Mar 2009 21:43:24 +0000 (21:43 +0000)
commitaa011836c2778d242c75547c3f64435a055a86ff
tree5fe48158f25e119a5662170ad525ce1c63dfbed8
parentc03000b73e49b858d6bf256114d28c8e9d7a2802
wgl: Don't flush surface if it is NULL.

Just a quick fix to prevent segfaults with glean.
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c