-/* $Id: points.c,v 1.3 1999/10/08 09:27:11 keithw Exp $ */
+/* $Id: points.c,v 1.4 1999/10/21 12:45:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
-
-
#ifdef PC_HEADER
#include "all.h"
#else
/*
* CI points with size == 1.0
*/
-void size1_ci_points( GLcontext *ctx, GLuint first, GLuint last )
+static void size1_ci_points( GLcontext *ctx, GLuint first, GLuint last )
{
struct vertex_buffer *VB = ctx->VB;
struct pixel_buffer *PB = ctx->PB;
t = 0.0;
u = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in textured_rgba_points()");
}
-
-
-
/* don't think this is needed
PB_SET_COLOR( red, green, blue, alpha );
*/
t = 0.0;
u = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in multitextured_rgba_points()");
}
switch (VB->TexCoordPtr[1]->size) {
t1 = 0.0;
u1 = 0.0;
break;
+ default:
+ /* should never get here */
+ s1 = t1 = u1 = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in multitextured_rgba_points()");
}
for (iy=y0;iy<=y1;iy++) {
t = 0.0;
u = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in antialiased_rgba_points()");
}
if (ctx->Texture.ReallyEnabled >= TEXTURE1_1D) {
t1 = 0.0;
u1 = 0.0;
break;
+ default:
+ /* should never get here */
+ s1 = t1 = u1 = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in antialiased_rgba_points()");
}
}
t = 0.0;
u = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in dist_atten_textured_rgba_points()");
}
if (ctx->Texture.ReallyEnabled >= TEXTURE1_1D) {
t1 = 0.0;
u1 = 0.0;
break;
+ default:
+ /* should never get here */
+ s1 = t1 = u1 = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in dist_atten_textured_rgba_points()");
}
}
t = 0.0;
u = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in dist_atten_antialiased_rgba_points()");
}
if (ctx->Texture.ReallyEnabled >= TEXTURE1_1D) {
t1 = 0.0;
u1 = 0.0;
break;
+ default:
+ /* should never get here */
+ s = t = u = 0.0;
+ gl_problem(ctx, "unexpected texcoord size in dist_atten_antialiased_rgba_points()");
}
}