GLSL : Could not create a geometry shader

So thanks to you and to you from the past (OpenGL core profile) I added gl-version 3 2 in the Config.prc file.

Then I added #version 330 core to my shaders.

Enabling gl debug #t in the Config.prc file allowed me to confirm that you’re suggestion about triangles instead of points was correct : It printed :

:display:gsg:glgsg(error): GL_INVALID_OPERATION in glDrawRangeElements(mode=GL_TRIANGLE_STRIP vs geometry shader input GL_POINTS)

So there seem to be no errors left, it doesn’t display anything but I guess it’s because I’m dealing with triangles instead of points. I’m gonna read a bit about dealing with triangles, thank you all for your help !

1 Like