Mesa (master): swrast: remove bogus assertion
Brian Paul
brianp at kemper.freedesktop.org
Fri Nov 11 14:13:15 UTC 2011
Module: Mesa
Branch: master
Commit: 0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f3f6cf02b7a1cb8e1d828be6730e246d8dd0070
Author: Brian Paul <brianp at vmware.com>
Date: Thu Nov 10 17:12:15 2011 -0700
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 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c
index ba67c6f..76a31ee 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);
}
}
}
More information about the mesa-commit
mailing list