diff options
author | Jordan Justen <[email protected]> | 2012-09-01 01:38:08 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-09-28 16:15:51 -0700 |
commit | 00905dbf19712c532bcdb2a2f7bf5d327d4df97b (patch) | |
tree | 44aafa4af9176b08477aa9609e956ec69dc3a2a1 /src/mesa/main/version.h | |
parent | e87c63f2889fcbeb5a8bbd91eda1333d7ed44bf2 (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 <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/version.h')
-rw-r--r-- | src/mesa/main/version.h | 3 |
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 */ |