mesa: remove assertion w/ undeclared variable texelBytes
authorBrian Paul <brianp@vmware.com>
Wed, 13 Oct 2010 00:32:06 +0000 (18:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 13 Oct 2010 00:32:06 +0000 (18:32 -0600)
src/mesa/main/texstore.c

index dd967ef536a9cb68b0a7aa5cbeab64b60ddb2506..108bb0dd9d24a04b3cbec2a1c47d1c52355b6f27 100644 (file)
@@ -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 &&