projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e2dd3
)
Polygon._OffsetAny wasn't being computed
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 16 Dec 2000 00:19:12 +0000
(
00:19
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 16 Dec 2000 00:19:12 +0000
(
00:19
+0000)
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index 9ef01d4b54f1b6e2a96de96ee804e34aede41f46..e5ca69ea6144368d380b0c5637311cead59bf9e2 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-1,4
+1,4
@@
-/* $Id: state.c,v 1.5
1 2000/12/08 00:20:15
brianp Exp $ */
+/* $Id: state.c,v 1.5
2 2000/12/16 00:19:12
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-524,12
+524,15
@@
update_polygon( GLcontext *ctx )
}
/* Any Polygon offsets enabled? */
+ ctx->Polygon._OffsetAny = GL_FALSE;
ctx->_TriangleCaps &= ~DD_TRI_OFFSET;
if (ctx->Polygon.OffsetPoint ||
ctx->Polygon.OffsetLine ||
- ctx->Polygon.OffsetFill)
+ ctx->Polygon.OffsetFill)
{
ctx->_TriangleCaps |= DD_TRI_OFFSET;
+ ctx->Polygon._OffsetAny = GL_TRUE;
+ }
}
static void