Lines Matching defs:override
55 * Returns the gl override data
57 * version > 0 indicates there is an override requested
72 } override[] = {
79 STATIC_ASSERT(ARRAY_SIZE(override) == API_OPENGL_LAST + 1);
86 if (override[api].version < 0) {
87 override[api].version = 0;
91 override[api].fc_suffix = check_for_ending(version_str, "FC");
92 override[api].compat_suffix = check_for_ending(version_str, "COMPAT");
98 override[api].version = 0;
100 override[api].version = major * 10 + minor;
105 if ((override[api].version < 30 && override[api].fc_suffix) ||
106 (api == API_OPENGLES2 && (override[api].fc_suffix ||
107 override[api].compat_suffix))) {
116 *version = override[api].version;
117 *fwd_context = override[api].fc_suffix;
118 *compat_context = override[api].compat_suffix;
156 * X.Y: override GL version to X.Y without changing the profile.