Lines Matching defs:override
49 * Returns the gl override data
51 * version > 0 indicates there is an override requested
66 } override[] = {
73 STATIC_ASSERT(ARRAY_SIZE(override) == API_OPENGL_LAST + 1);
78 if (override[api].version < 0) {
79 override[api].version = 0;
83 override[api].fc_suffix = check_for_ending(version_str, "FC");
84 override[api].compat_suffix = check_for_ending(version_str, "COMPAT");
90 override[api].version = 0;
92 override[api].version = major * 10 + minor;
97 if ((override[api].version < 30 && override[api].fc_suffix) ||
98 (api == API_OPENGLES2 && (override[api].fc_suffix ||
99 override[api].compat_suffix))) {
108 *version = override[api].version;
109 *fwd_context = override[api].fc_suffix;
110 *compat_context = override[api].compat_suffix;
146 * X.Y: override GL version to X.Y without changing the profile.