/* AMD's uniform buffer objects only work with the core version of
shaders. */
- if(!(get_gl_version()>=Version(2, 0)))
+ if(get_gl_version()<Version(2, 0))
extensions.erase("GL_ARB_uniform_buffer_object");
}
}
geometry(false)
{
if(get_gl_api()==OPENGL_ES2)
- legacy = !(get_glsl_version()>=Version(3, 0));
+ legacy = get_glsl_version()<Version(3, 0);
else
- legacy = !(get_glsl_version()>=Version(1, 30));
+ legacy = get_glsl_version()<Version(1, 30);
}
string ProgramBuilder::StandardFeatures::create_flags() const