projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a81da
)
added minor assertion
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:53:45 +0000
(18:53 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Aug 2003 18:53:45 +0000
(18:53 +0000)
src/mesa/main/drawpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/drawpix.c
b/src/mesa/main/drawpix.c
index
83196d3
..
b9b4724
100644
(file)
--- 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