Black Screen (Resolved)

Author: TediusTimmyCreated Dec 30, 2022Updated Aug 15, 2025

I just wanted to leave this here, in case it helps anyone. I also tried to start the program and only got a black screen. But, I noticed in the "Shaders" folder were some log files with this message:

ERROR: 0:9: 'gl_FragColor' : identifiers starting with "gl_" are reserved 
ERROR: 1 compilation errors.  No code generated.

Apparently, my GLSL compiler isn't honoring the language version, or only partially doing so. The solution was to just remove the "gl_" from that variable name in the five ".frag" files that use it. Then the demo worked.