diff options
author | Marius Predut <[email protected]> | 2015-04-07 22:05:44 +0300 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-14 12:23:51 -0700 |
commit | 139e6c7c4a9c59be5f4b3f431ac393cc097326ac (patch) | |
tree | 3be3da147a7aab4b408631de25a28169c61e8b76 /src/mesa/drivers/dri/i915/intel_tris.c | |
parent | fc57222f6097da737d578f081075a027377ba399 (diff) |
i915: replace __FUNCTION__ with __func__
Consistently just use C99's __func__ everywhere.
No functional changes.
Acked-by: Matt Turner <[email protected]>
Signed-off-by: Marius Predut <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tris.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tris.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c index 2c0a78562a0..144f0fc911a 100644 --- a/src/mesa/drivers/dri/i915/intel_tris.c +++ b/src/mesa/drivers/dri/i915/intel_tris.c @@ -798,7 +798,7 @@ intel_fallback_tri(struct intel_context *intel, SWvertex v[3]; if (0) - fprintf(stderr, "\n%s\n", __FUNCTION__); + fprintf(stderr, "\n%s\n", __func__); INTEL_FIREVERTICES(intel); @@ -819,7 +819,7 @@ intel_fallback_line(struct intel_context *intel, SWvertex v[2]; if (0) - fprintf(stderr, "\n%s\n", __FUNCTION__); + fprintf(stderr, "\n%s\n", __func__); INTEL_FIREVERTICES(intel); @@ -838,7 +838,7 @@ intel_fallback_point(struct intel_context *intel, SWvertex v[1]; if (0) - fprintf(stderr, "\n%s\n", __FUNCTION__); + fprintf(stderr, "\n%s\n", __func__); INTEL_FIREVERTICES(intel); @@ -971,7 +971,7 @@ intelChooseRenderState(struct gl_context * ctx) GLuint index = 0; if (INTEL_DEBUG & DEBUG_STATE) - fprintf(stderr, "\n%s\n", __FUNCTION__); + fprintf(stderr, "\n%s\n", __func__); if ((flags & (ANY_FALLBACK_FLAGS | ANY_RASTER_FLAGS)) || have_wpos) { @@ -1133,7 +1133,7 @@ intelRasterPrimitive(struct gl_context * ctx, GLenum rprim, GLuint hwprim) struct intel_context *intel = intel_context(ctx); if (0) - fprintf(stderr, "%s %s %x\n", __FUNCTION__, + fprintf(stderr, "%s %s %x\n", __func__, _mesa_lookup_enum_by_nr(rprim), hwprim); intel->vtbl.reduced_primitive_state(intel, rprim); @@ -1158,7 +1158,7 @@ intelRenderPrimitive(struct gl_context * ctx, GLenum prim) ctx->Polygon.BackMode != GL_FILL); if (0) - fprintf(stderr, "%s %s\n", __FUNCTION__, _mesa_lookup_enum_by_nr(prim)); + fprintf(stderr, "%s %s\n", __func__, _mesa_lookup_enum_by_nr(prim)); /* Let some clipping routines know which primitive they're dealing * with. |