diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 16:46:55 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 19:58:36 +0000 |
commit | d8726f265e53ce6a1d5f11a1d261e2f8957f7c62 (patch) | |
tree | 40b8d0257253568f92f6b83836e583f40a09b3e2 /include/epoxy | |
parent | a7c3178f86afa016ddeed8ebbb668ec308b71122 (diff) | |
download | libepoxy-d8726f265e53ce6a1d5f11a1d261e2f8957f7c62.tar.gz |
Add epoxy_glsl_version()
Epoxy should provide a function that returns the version of the GL
shading language in use, in the same vein as it allows to get the
version of GL.
Closes: #145
Diffstat (limited to 'include/epoxy')
-rw-r--r-- | include/epoxy/gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h index ce4763f..1fef4ba 100644 --- a/include/epoxy/gl.h +++ b/include/epoxy/gl.h @@ -91,6 +91,7 @@ EPOXY_BEGIN_DECLS EPOXY_PUBLIC bool epoxy_has_gl_extension(const char *extension); EPOXY_PUBLIC bool epoxy_is_desktop_gl(void); EPOXY_PUBLIC int epoxy_gl_version(void); +EPOXY_PUBLIC int epoxy_glsl_version(void); /* * the type of the stub function that the failure handler must return; |