П
Size: a a a
П
I
П
I
I
I
П
I
EB
EB
D
A
MG
EB
MG
glGetBooleanv(GL_SHADER_COMPILER, &GLSC_supported);
returns false
in GLSC_supported
MG
EB
_glName = glCreateShader(type);
checkOpenglError();
if (_glName == 0)
{
printf("Failed to create shader");
exit(0);
}
glShaderSource(_glName, 3, sources, lengts);
glCompileShader(_glName);