OpenSceneGraph
OpenSceneGraph copied to clipboard
glPointSize(_size) in Point::apply(State& state) is NOT applied
glPointSize(_size) in Point::apply(State& state) is NOT applied when OSG_GL_FIXED_FUNCTION_AVAILABLE is not defined. glPointSize function is always available in all OpenGL version.
OSG version: 3.6.2
This code was likely originally in there to prevent issues with porting to GLES. Searching GL specs it does look like it's available, but haven't found whether it's available for GLES1.x. Looks like it's available for GLES2.x though.
A quick only search doesn't provide a clear mapping of what parts of the glPointParameters usage is available.
glpointsize is available in vertex shader gl_pointsize when OSG_GL_FIXED_FUNCTION_AVAILABLE is not defined