corrected useless test for an ancient opengl extension (glPointParameterfv). no more needed and creating problems to new compilers...
This commit is contained in:
parent
2c68680c06
commit
1aa2c374e1
|
@ -644,8 +644,6 @@ void DrawPoints()
|
|||
if(GetHintParami(HNPPointSmooth)>0) glEnable(GL_POINT_SMOOTH);
|
||||
else glDisable(GL_POINT_SMOOTH);
|
||||
glPointSize(GetHintParamf(HNPPointSize));
|
||||
if (glPointParameterfv)
|
||||
{
|
||||
if(GetHintParami(HNPPointDistanceAttenuation)>0)
|
||||
{
|
||||
float camDist = (float)CameraDistance();
|
||||
|
@ -659,7 +657,6 @@ void DrawPoints()
|
|||
float quadratic[] = { 1.0f, 0.0f, 0.0f};
|
||||
glPointParameterfv( GL_POINT_DISTANCE_ATTENUATION, quadratic );
|
||||
glPointSize(GetHintParamf(HNPPointSize));
|
||||
}
|
||||
}
|
||||
|
||||
if(m->vn!=(int)m->vert.size())
|
||||
|
|
Loading…
Reference in New Issue