mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
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:
parent
5e1a80e016
commit
2cb2f230fd
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue