Mesa (master): mesa: remove assertion w/ undeclared variable texelBytes

Brian Paul brianp at kemper.freedesktop.org
Wed Oct 13 00:32:20 UTC 2010


Module: Mesa
Branch: master
Commit: 1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Oct 12 18:32:06 2010 -0600

mesa: remove assertion w/ undeclared variable texelBytes

---

 src/mesa/main/texstore.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index dd967ef..108bb0d 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -3122,7 +3122,6 @@ _mesa_texstore_s8(TEXSTORE_PARAMS)
 {
    ASSERT(dstFormat == MESA_FORMAT_S8);
    ASSERT(srcFormat == GL_STENCIL_INDEX);
-   ASSERT(texelBytes == 1);
 
    if (!ctx->_ImageTransferState &&
        !srcPacking->SwapBytes &&




More information about the mesa-commit mailing list