X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Ftnl_dd%2Ft_dd_triemit.h;h=093501f16766dc6721feb363b0fd12b9cbb1598b;hb=efbf14e8936384ab1d243afbe3fa9bb0f40e3898;hp=f5979ee9a750bc0a1abf047e1e0519cb9655a99c;hpb=bcc13b74443137043e8a34f8cb64a5add0d8af93;p=mesa.git diff --git a/src/mesa/tnl_dd/t_dd_triemit.h b/src/mesa/tnl_dd/t_dd_triemit.h index f5979ee9a75..093501f1676 100644 --- a/src/mesa/tnl_dd/t_dd_triemit.h +++ b/src/mesa/tnl_dd/t_dd_triemit.h @@ -16,13 +16,6 @@ do { \ "D" ((long)vb), \ "S" ((long)v) ); \ } while (0) -#elif defined(HAVE_LE32_VERTS) -#define COPY_DWORDS( j, vb, vertsize, v ) \ -do { \ - for ( j = 0 ; j < vertsize ; j++ ) \ - vb[j] = CPU_TO_LE32(((GLuint *)v)[j]); \ - vb += vertsize; \ -} while (0) #else #define COPY_DWORDS( j, vb, vertsize, v ) \ do { \ @@ -46,7 +39,7 @@ static __inline void TAG(quad)( CTX_ARG, GLuint j; if (DO_DEBUG_VERTS) { - fprintf(stderr, "%s\n", __FUNCTION__); + fprintf(stderr, "%s\n", __func__); PRINT_VERTEX(v0); PRINT_VERTEX(v1); PRINT_VERTEX(v2); @@ -70,7 +63,7 @@ static __inline void TAG(quad)( CTX_ARG, GLuint j; if (DO_DEBUG_VERTS) { - fprintf(stderr, "%s\n", __FUNCTION__); + fprintf(stderr, "%s\n", __func__); PRINT_VERTEX(v0); PRINT_VERTEX(v1); PRINT_VERTEX(v2); @@ -97,7 +90,7 @@ static __inline void TAG(triangle)( CTX_ARG, GLuint j; if (DO_DEBUG_VERTS) { - fprintf(stderr, "%s\n", __FUNCTION__); + fprintf(stderr, "%s\n", __func__); PRINT_VERTEX(v0); PRINT_VERTEX(v1); PRINT_VERTEX(v2); @@ -136,7 +129,7 @@ static __inline void TAG(point)( CTX_ARG, #endif -static void TAG(fast_clipped_poly)( GLcontext *ctx, const GLuint *elts, +static void TAG(fast_clipped_poly)( struct gl_context *ctx, const GLuint *elts, GLuint n ) { LOCAL_VARS @@ -146,7 +139,7 @@ static void TAG(fast_clipped_poly)( GLcontext *ctx, const GLuint *elts, GLuint i,j; if (DO_DEBUG_VERTS) { - fprintf(stderr, "%s\n", __FUNCTION__); + fprintf(stderr, "%s\n", __func__); PRINT_VERTEX(VERT(elts[0])); PRINT_VERTEX(VERT(elts[1])); }