Login  Register

Re: gl_PointCoord not working without enabled GL_POINT_SPRITE - is it a bug?

Posted by jmaasing on Feb 24, 2014; 9:12am
URL: https://forum.jogamp.org/gl-PointCoord-not-working-without-enabled-GL-POINT-SPRITE-is-it-a-bug-tp4029611p4031709.html

gouessej wrote
Use GLBase.isExtensionAvailable() and GLBase.isFunctionAvailable() if you want to check whether an extension and a function are available.
I don't know if that helps in this case. If I understand the specification correctly GL_POINT_SPRITE has been removed in OpenGL 3.3, it is neither an extension nor a function that is supposed to exist in GL4. The reason was that it is not needed since PointCoord should be available in shaders for ordinary points, so no need for point sprites.

I would guess that If the shader works when enabling GL_POINT_SPRITES it is either * not a GL4-context (i.e. using GL2) or * the driver has a serious bug.