extensions->EXT_shader_integer_mix);
const bool ver_3_2 = (ver_3_1 &&
extensions->KHR_blend_equation_advanced &&
+ extensions->KHR_robustness &&
extensions->KHR_texture_compression_astc_ldr &&
extensions->OES_copy_image &&
extensions->ARB_draw_buffers_blend &&
extensions->ARB_draw_elements_base_vertex &&
extensions->OES_geometry_shader &&
- /*extensions->OES_primitive_bounding_box*/ false &&
+ extensions->OES_primitive_bounding_box &&
extensions->OES_sample_variables &&
extensions->ARB_tessellation_shader &&
extensions->ARB_texture_border_clamp &&
case API_OPENGL_COMPAT:
/* Disable GLSL 1.40 and later for legacy contexts.
* This disallows creation of the GL 3.1 compatibility context. */
- if (consts->GLSLVersion > 130) {
- consts->GLSLVersion = 130;
+ if (!consts->AllowHigherCompatVersion) {
+ if (consts->GLSLVersion > 130) {
+ consts->GLSLVersion = 130;
+ }
}
/* fall through */
case API_OPENGL_CORE: