diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-09-16 20:30:10 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-02-18 15:39:23 +0100 |
commit | 4802835ca5a20ac7c5dfc808b6b21989d912024c (patch) | |
tree | 3a3bcfc3f46007350c12bddfcce4b6cdc2287fd0 | |
parent | 23dc18e0dae0649d9ddc13092d9ab3b77059bc10 (diff) |
Formatting in glamo_tris.c
-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; */ |