added minor assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:53:45 +0000 (18:53 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:53:45 +0000 (18:53 +0000)
src/mesa/main/drawpix.c

index 83196d3de01e30976097f017ab29a5b70ce5b042..b9b472492b0875fba5106b7d0b9b561cf15567f8 100644 (file)
@@ -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