SonicMastr/Pigs-In-A-Blanket

GL_SHADER_COMPILER returns GL_FALSE

Closed this issue · 1 comments

isage commented

Subj.
It should return true, because, well, there's obviously online shader compiler present.

isage commented

Basically, everything works fine, but

glGetBooleanv(GL_SHADER_COMPILER, &hasCompiler) 

sets hasCompiler to GL_FALSE
But, according to spec, should set it to GL_TRUE if there's shader compiler available . So one can decide which path to use: glCompileShader or glShaderBinary.