From: Brian Paul Date: Fri, 11 Nov 2011 00:12:15 +0000 (-0700) Subject: swrast: remove bogus assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070;p=mesa.git swrast: remove bogus assertion It would fail for images that were never allocated (and wouldn't be used during rendering). --- diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index ba67c6fa417..76a31eeae73 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -241,7 +241,6 @@ _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) /* XXX we'll eventually call _swrast_map_teximage() here */ swImage->Data = swImage->Buffer; - assert(swImage->Buffer); } } }