diff options
author | Keith Whitwell <[email protected]> | 2000-02-27 20:38:15 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-02-27 20:38:15 +0000 |
commit | e5ed37fa4ed1cf2323b50d96eafb1dc00c1d6d42 (patch) | |
tree | ccea6d290f1c90d3dc25f15c264393b6a98afeac /src/mesa/main/polygon.c | |
parent | 3994b77bab8c62a4c1a4dffdfba233ef46662b99 (diff) |
add callbacks for stipple
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r-- | src/mesa/main/polygon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index f93ab195665..94a747c402d 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -1,4 +1,4 @@ -/* $Id: polygon.c,v 1.7 1999/11/11 01:22:27 brianp Exp $ */ +/* $Id: polygon.c,v 1.8 2000/02/27 20:38:15 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -150,6 +150,9 @@ _mesa_PolygonStipple( const GLubyte *mask ) if (ctx->Polygon.StippleFlag) { ctx->NewState |= NEW_RASTER_OPS; } + + if (ctx->Driver.PolygonStipple) + ctx->Driver.PolygonStipple( ctx, mask ); } |