diff options
author | Brian Paul <[email protected]> | 2000-02-16 23:06:12 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-16 23:06:12 +0000 |
commit | 7a0f9dbb94947110ed47c3ba4befc2d9ffb1e8c8 (patch) | |
tree | 7f6660eeda1b814aa13bbd6f9d9761301fc95b5d /src/mesa/drivers/glide/fxglidew.c | |
parent | 27be87cdff9ecb4a4bdb938f31b7edf28d7cb570 (diff) |
updated with changes from DRI project CVS
Diffstat (limited to 'src/mesa/drivers/glide/fxglidew.c')
-rw-r--r-- | src/mesa/drivers/glide/fxglidew.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxglidew.c b/src/mesa/drivers/glide/fxglidew.c index d27c1558428..9084cc5feaa 100644 --- a/src/mesa/drivers/glide/fxglidew.c +++ b/src/mesa/drivers/glide/fxglidew.c @@ -55,7 +55,7 @@ #include <stdlib.h> #include <string.h> -static FxI32 FX_grGetInteger_NoLock(FxU32 pname) +FxI32 FX_grGetInteger_NoLock(FxU32 pname) { #if !defined(FX_GLIDE3) switch (pname) @@ -244,6 +244,13 @@ void FX_grAADrawPoint(GrVertex *a) END_CLIP_LOOP(); } +void FX_grDrawPolygonVertexList(int n, GrVertex *verts) +{ + BEGIN_CLIP_LOOP(); + grDrawVertexArrayContiguous(GR_POLYGON, n, verts, sizeof(GrVertex)); + END_CLIP_LOOP(); +} + #if FX_USE_PARGB void FX_setupGrVertexLayout(void) { |