Print out the point size range.

I'm not sure if there's a bug in mesa, or if I'm doing something wrong, but
GL_POINTS doesn't seem to be working properly. I get the points, but
writing to gl_PointSize doesn't make a difference despite the size range
being 1-255.
This commit is contained in:
Bill Currie 2012-01-21 15:48:21 +09:00
parent 5e1a80e016
commit 2cb2f230fd

View file

@ -177,6 +177,10 @@ R_InitParticles (void)
unsigned i;
int vert;
int frag;
float v[2] = {0, 0};
qfglGetFloatv (GL_ALIASED_POINT_SIZE_RANGE, v);
Sys_MaskPrintf (SYS_GLSL, "point size: %g - %g\n", v[0], v[1]);
vert = GL_CompileShader ("quakepnt.vert", quakepoint_vert,
GL_VERTEX_SHADER);