diff options
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) { |