added minor assertion

This commit is contained in:
Brian Paul 2003-08-31 18:53:45 +00:00
parent 04a81da03b
commit bd7a3de4b3
1 changed files with 2 additions and 1 deletions

View 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