summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2013-02-21 10:01:40 -0800
committerJordan Justen <[email protected]>2013-02-28 21:50:50 -0800
commitc4e059a359f26918117c2c43bf90496325851c4d (patch)
tree62e07359b6ca8012c067250b070872cf78ac74e9 /src/mesa/main/version.h
parent500b69e7973a8320d76cc7e8a3f1761641bed433 (diff)
mesa version: add _mesa_get_gl_version_override
This will allow other code to get access to the override version before a context is available. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
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 8167ed0511a..c1cb3177d1a 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -51,4 +51,7 @@ _mesa_override_gl_version(struct gl_context *ctx);
extern void
_mesa_override_glsl_version(struct gl_context *ctx);
+extern int
+_mesa_get_gl_version_override(void);
+
#endif /* VERSION_H */