diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/glamo/glamo_tris.c | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_tris.c b/src/mesa/drivers/dri/glamo/glamo_tris.c index 07a19286cf..aa1a09b5ec 100644 --- a/src/mesa/drivers/dri/glamo/glamo_tris.c +++ b/src/mesa/drivers/dri/glamo/glamo_tris.c @@ -32,45 +32,42 @@ static void glamoRunPipeline(GLcontext *ctx) { - printf("glamoRunPipeline\n"); + printf("glamoRunPipeline\n"); } static void glamoRenderStart(GLcontext *ctx) { - printf("glamoRenderStart\n"); + printf("glamoRenderStart\n"); } static void glamoRenderFinish(GLcontext *ctx) { - printf("glamoRenderFinish\n"); + printf("glamoRenderFinish\n"); } -static void glamoRenderPrimitive(GLcontext *ctx, GLenum prim) +static void glamoPrimitiveNotify(GLcontext *ctx, GLenum prim) { - printf("glamoRenderPrimitive\n"); + printf("glamoPrimitiveNotify\n"); } void glamoInitTriFuncs(GLcontext *ctx) { - TNLcontext *tnl = TNL_CONTEXT(ctx); - static int firsttime = 1; - - if (firsttime) { -// init_rast_tab(); - firsttime = 0; - } - - tnl->Driver.RunPipeline = glamoRunPipeline; - tnl->Driver.Render.Start = glamoRenderStart; - tnl->Driver.Render.Finish = glamoRenderFinish; - tnl->Driver.Render.PrimitiveNotify = glamoRenderPrimitive; - tnl->Driver.Render.ResetLineStipple = _swrast_ResetLineStipple; - tnl->Driver.Render.BuildVertices = _tnl_build_vertices; + TNLcontext *tnl = TNL_CONTEXT(ctx); + static int firsttime = 1; + + if (firsttime) { + //init_rast_tab(); + firsttime = 0; + } + + tnl->Driver.RunPipeline = glamoRunPipeline; + tnl->Driver.Render.Start = glamoRenderStart; + tnl->Driver.Render.Finish = glamoRenderFinish; + tnl->Driver.Render.PrimitiveNotify = glamoPrimitiveNotify; + tnl->Driver.Render.ResetLineStipple = _swrast_ResetLineStipple; + tnl->Driver.Render.BuildVertices = _tnl_build_vertices; } - - -/* kate: space-indent on; indent-width 3; mixedindent off; indent-mode cstyle; */ |