From 314f8e4d9d600f9db95977ebf931a3fb9bb8ce79 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 21 Dec 2004 11:57:03 +0000 Subject: Add vsync swapbuffers. This waits on the irq so gears run in this mode will have a very low cpu utilization (and also a very low framerate). Fix up the pageflipping code. This works now but is totally oblivious to the X server (ie. it works but it's broken). Turned off by a #define. --- src/mesa/drivers/dri/unichrome/via_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/unichrome/via_render.c') diff --git a/src/mesa/drivers/dri/unichrome/via_render.c b/src/mesa/drivers/dri/unichrome/via_render.c index 2b1ba5eb9f..1ea5a53cc5 100644 --- a/src/mesa/drivers/dri/unichrome/via_render.c +++ b/src/mesa/drivers/dri/unichrome/via_render.c @@ -137,7 +137,7 @@ static GLboolean via_run_fastrender(GLcontext *ctx, viaContextPtr vmesa = VIA_CONTEXT(ctx); TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; - GLuint i, length, flags = 0; + GLuint i; /* Don't handle clipping or indexed vertices. */ -- cgit v1.2.3