Hi,
Not quite sure if this should be in the shading language section, but I’ll try here first.
I cannot get the GL query GL_PRIMITIVES_GENERATED to work with a geometry point shader. If I disable it and use the fixed pipeline, I get the correct result. But once the geometry shader is enabled qlGetQueryObject always returns 0. But I can see that points being rendered.
(The geometry shader is used do culling of points without a depth test. The points are rendered between a glBegin()/glEnd() pair.)