summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vtx_exec.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 15:58:22 +0000
committerBrian Paul <[email protected]>2003-11-25 15:58:22 +0000
commitb65bc4f87b356cf6228151cd2f341432e80dc6b8 (patch)
tree208918293c838bb8c86c59cb266b621def3ac2d7 /src/mesa/tnl/t_vtx_exec.c
parente749be22b03312c3927964c85d589868e3292977 (diff)
Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
Diffstat (limited to 'src/mesa/tnl/t_vtx_exec.c')
-rw-r--r--src/mesa/tnl/t_vtx_exec.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/mesa/tnl/t_vtx_exec.c b/src/mesa/tnl/t_vtx_exec.c
index 744d44ea60c..5215e1d6fb3 100644
--- a/src/mesa/tnl/t_vtx_exec.c
+++ b/src/mesa/tnl/t_vtx_exec.c
@@ -28,20 +28,21 @@
#include "glheader.h"
#include "api_eval.h"
#include "context.h"
+#include "enums.h"
#include "state.h"
#include "macros.h"
#include "math/m_eval.h"
#include "t_vtx_api.h"
#include "t_pipeline.h"
+
static void _tnl_print_vtx( GLcontext *ctx )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
GLuint count = tnl->vtx.initial_counter - tnl->vtx.counter;
GLuint i;
- _mesa_debug(0, "%s: %u vertices %d primitives, %d vertsize\n",
- __FUNCTION__,
+ _mesa_debug(ctx, "_tnl_print_vtx: %u vertices %d primitives, %d vertsize\n",
count,
tnl->vtx.prim_count,
tnl->vtx.vertex_size);
@@ -112,8 +113,8 @@ static void _tnl_vb_bind_vtx( GLcontext *ctx )
GLuint count = tnl->vtx.initial_counter - tnl->vtx.counter;
GLuint attr, i;
- if (0) fprintf(stderr, "%s: %d verts %d vertsize\n",
- __FUNCTION__, count, tnl->vtx.vertex_size);
+ if (0) fprintf(stderr, "_tnl_vb_bind_vtx(): %d verts %d vertsize\n",
+ count, tnl->vtx.vertex_size);
/* Setup constant data in the VB.
@@ -178,9 +179,6 @@ static void _tnl_vb_bind_vtx( GLcontext *ctx )
}
-
-
-
/*
* NOTE: Need to have calculated primitives by this point -- do it on the fly.
* NOTE: Old 'parity' issue is gone.
@@ -255,10 +253,6 @@ static GLuint _tnl_copy_vertices( GLcontext *ctx )
}
-
-
-
-
/**
* Execute the buffer and save copied verts.
*/
@@ -293,8 +287,3 @@ void _tnl_flush_vtx( GLcontext *ctx )
tnl->vtx.counter = tnl->vtx.initial_counter;
tnl->vtx.vbptr = tnl->vtx.buffer;
}
-
-
-
-
-