summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texture.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-10 17:12:15 -0700
committerBrian Paul <[email protected]>2011-11-11 07:12:55 -0700
commit0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070 (patch)
tree1d0ac517a39dad9120b5689ac64d106f5ad60bae /src/mesa/swrast/s_texture.c
parent871dc64869fa371debf03735e215a12cf2ec1742 (diff)
swrast: remove bogus assertion
It would fail for images that were never allocated (and wouldn't be used during rendering).
Diffstat (limited to 'src/mesa/swrast/s_texture.c')
-rw-r--r--src/mesa/swrast/s_texture.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}
}