mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
added minor assertion
This commit is contained in:
parent
04a81da03b
commit
bd7a3de4b3
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue