From: Brian Paul Date: Sun, 31 Aug 2003 18:53:45 +0000 (+0000) Subject: added minor assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd7a3de4b35f8bb1a1ea033ba2893315a4efcc29;p=mesa.git added minor assertion --- diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c index 83196d3de01..b9b472492b0 100644 --- a/src/mesa/main/drawpix.c +++ b/src/mesa/main/drawpix.c @@ -211,7 +211,8 @@ _mesa_Bitmap( GLsizei width, GLsizei height, ctx->Current.RasterTexCoords[0] ); } } - else if (ctx->RenderMode==GL_SELECT) { + else { + ASSERT(ctx->RenderMode == GL_SELECT); /* Bitmaps don't generate selection hits. See appendix B of 1.1 spec. */ } #endif