diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-29 14:06:09 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-29 14:06:09 +0000 |
commit | e972497310f752994a8b42636a51239d2b9d0c44 (patch) | |
tree | e878dfeb60bfbd148ccf43ccf9022690d0724bf1 /src/mesa/drivers/dri/unichrome/via_span.c | |
parent | f102f7ae3d45a4a6d6a00d9e389c061a9d4bb852 (diff) |
Make line stipple a fallback.
Make sure fallbacks are wrapped by SpanRenderStart/SpanRenderFinish
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_span.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_span.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_span.c b/src/mesa/drivers/dri/unichrome/via_span.c index 8ae62256e7..9578af3b65 100644 --- a/src/mesa/drivers/dri/unichrome/via_span.c +++ b/src/mesa/drivers/dri/unichrome/via_span.c @@ -251,17 +251,16 @@ static void viaSetBuffer(GLcontext *ctx, GLframebuffer *colorBuffer, /* Move locking out to get reasonable span performance. */ -static void viaSpanRenderStart( GLcontext *ctx ) +void viaSpanRenderStart( GLcontext *ctx ) { viaContextPtr vmesa = VIA_CONTEXT(ctx); VIA_FINISH_PRIM(vmesa); LOCK_HARDWARE(vmesa); viaFlushPrimsLocked(vmesa); WAIT_IDLE(vmesa); - } -static void viaSpanRenderFinish( GLcontext *ctx ) +void viaSpanRenderFinish( GLcontext *ctx ) { viaContextPtr vmesa = VIA_CONTEXT(ctx); _swrast_flush( ctx ); |