diff options
author | Andres Gomez <[email protected]> | 2018-03-02 15:02:33 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2018-04-09 13:47:40 +0300 |
commit | 7cf3932098aba5fefaf241e35ee276b82e6e8ec7 (patch) | |
tree | 8e1736a71b74ebcc29b847d4ea54372d4cc2791d /src/mesa/main | |
parent | 806ab42c0f53064a774f002e311cfbb7ff10a667 (diff) |
mesa: adds some comments regarding MESA_GLES_VERSION_OVERRIDE usage
Fixes: 03fd6704db9 ("mesa: Add support for a new override string
MESA_GLES_VERSION_OVERRIDE")
Cc: Jordan Justen <[email protected]>
Cc: Ian Romanick <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/version.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 3b51b1e7a36..0a4e7630da6 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -134,8 +134,8 @@ create_version_string(struct gl_context *ctx, const char *prefix) } /** - * Override the context's version and/or API type if the - * environment variable MESA_GL_VERSION_OVERRIDE is set. + * Override the context's version and/or API type if the environment variables + * MESA_GL_VERSION_OVERRIDE or MESA_GLES_VERSION_OVERRIDE are set. * * Example uses of MESA_GL_VERSION_OVERRIDE: * @@ -148,6 +148,12 @@ create_version_string(struct gl_context *ctx, const char *prefix) * X.Y: override GL version to X.Y without changing the profile. * X.YFC: select a Core+Forward Compatible profile with GL version X.Y. * X.YCOMPAT: select a Compatibility profile with GL version X.Y. + * + * Example uses of MESA_GLES_VERSION_OVERRIDE: + * + * 2.0: select GLES version 2.0. + * 3.0: select GLES version 3.0. + * 3.1: select GLES version 3.1. */ bool _mesa_override_gl_version_contextless(struct gl_constants *consts, |