Damian Dixon
2018-07-29 13:23:40 UTC
Hi,
I have a build of OSG 3.6.2 for GLCORE for Mesa 18.0.5, Intel HD Graphics
620.
I am seeing a lot of warnings/errors around the use of PointSprite.
The warnings/errors are (once per PointSprite):
Warning: detected OpenGL error 'invalid enumerant' at after
RenderBin::draw(..)
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_POINT_SPRITE)
The Intel Mesa i965 driver is fairly strict with regards to Core Profile
and does
not provide a compatibility profile.
I'm using osgEarth so I have to build for Core Profile for osgEarth to work.
I've looked at trying to add additional logic to stop OSG from calling
glEnable/glDIsable for GL_POINT_SPRITE but I can't see a sensible place to
disable calling to glEnable/glDisable.
Core Profile says that GL_POINT_SPRITE is always on so I believe that all
that needs to be done is to not call glEnable/glDisable for GL_POINT_SPRITE.
Regards
Damian
I have a build of OSG 3.6.2 for GLCORE for Mesa 18.0.5, Intel HD Graphics
620.
I am seeing a lot of warnings/errors around the use of PointSprite.
The warnings/errors are (once per PointSprite):
Warning: detected OpenGL error 'invalid enumerant' at after
RenderBin::draw(..)
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_POINT_SPRITE)
The Intel Mesa i965 driver is fairly strict with regards to Core Profile
and does
not provide a compatibility profile.
I'm using osgEarth so I have to build for Core Profile for osgEarth to work.
I've looked at trying to add additional logic to stop OSG from calling
glEnable/glDIsable for GL_POINT_SPRITE but I can't see a sensible place to
disable calling to glEnable/glDisable.
Core Profile says that GL_POINT_SPRITE is always on so I believe that all
that needs to be done is to not call glEnable/glDisable for GL_POINT_SPRITE.
Regards
Damian