summaryrefslogtreecommitdiff
path: root/src/mesa/main/version.h
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2012-09-01 01:38:08 -0700
committerJordan Justen <jordan.l.justen@intel.com>2012-09-28 16:15:51 -0700
commit00905dbf19712c532bcdb2a2f7bf5d327d4df97b (patch)
tree44aafa4af9176b08477aa9609e956ec69dc3a2a1 /src/mesa/main/version.h
parente87c63f2889fcbeb5a8bbd91eda1333d7ed44bf2 (diff)
mesa: allow MESA_GL_VERSION_OVERRIDE to override the API type
Change the format to MAJOR.MINOR[FC] For example: 2.1, 3.0FC, 3.1 The FC suffix indicates a forward compatible context, and is only valid for versions >= 3.0. Examples: 2.1: GL Legacy/Compatibility context 3.0: GL Legacy/Compatibility context 3.0FC: GL Core Profile context + Forward Compatible 3.1: GL Core Profile context 3.1FC: GL Core Profile context + Forward Compatible Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/version.h')
-rw-r--r--src/mesa/main/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index f0ba6f267fb..1aab37d6936 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -46,6 +46,9 @@ extern void
_mesa_compute_version(struct gl_context *ctx);
extern void
+_mesa_override_gl_version(struct gl_context *ctx);
+
+extern void
_mesa_override_glsl_version(struct gl_context *ctx);
#endif /* VERSION_H */