From: Brian Paul Date: Wed, 13 Oct 2010 00:32:06 +0000 (-0600) Subject: mesa: remove assertion w/ undeclared variable texelBytes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e;p=mesa.git mesa: remove assertion w/ undeclared variable texelBytes --- diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index dd967ef536a..108bb0dd9d2 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 &&