From 0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Nov 2011 17:12:15 -0700 Subject: [PATCH] swrast: remove bogus assertion It would fail for images that were never allocated (and wouldn't be used during rendering). --- src/mesa/swrast/s_texture.c | 1 - 1 file changed, 1 deletion(-) 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); } } } -- 2.30.2