summaryrefslogtreecommitdiff
path: root/src/mesa/main/drawpix.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-31 18:53:45 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-31 18:53:45 +0000
commitbd7a3de4b35f8bb1a1ea033ba2893315a4efcc29 (patch)
tree7a4eefb819e8c6acba524390de6f6c40d249e7dc /src/mesa/main/drawpix.c
parent04a81da03bef5020d863e46aa597eddf7aaac016 (diff)
added minor assertion
Diffstat (limited to 'src/mesa/main/drawpix.c')
-rw-r--r--src/mesa/main/drawpix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index 83196d3de0..b9b472492b 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