diff options
author | Marek Olšák <[email protected]> | 2014-08-03 05:27:10 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-08-11 21:53:57 +0200 |
commit | 7207830047964aff16324cb5617ab40d12f32e3e (patch) | |
tree | f212500c4a50d9c1f4faeb1c4f608f5219aa8fd7 /src/mesa/main/version.h | |
parent | 537cbb7e1a06c55260602004a6706f250b0eaf32 (diff) |
mesa: add _mesa_get_version, a ctx-independent variant of _mesa_compute_version
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/version.h')
-rw-r--r-- | src/mesa/main/version.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h index 15bd6e3d8c8..450a0e31d3d 100644 --- a/src/mesa/main/version.h +++ b/src/mesa/main/version.h @@ -30,6 +30,10 @@ #include "mtypes.h" +extern GLuint +_mesa_get_version(const struct gl_extensions *extensions, + struct gl_constants *consts, gl_api api); + extern void _mesa_compute_version(struct gl_context *ctx); |