Skip to content
Snippets Groups Projects
Commit 66964df1 authored by Andres Gomez's avatar Andres Gomez Committed by Juan A. Suárez
Browse files

mesa: adds some comments regarding MESA_GLES_VERSION_OVERRIDE usage


Fixes: 03fd6704 ("mesa: Add support for a new override string
MESA_GLES_VERSION_OVERRIDE")

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 7cf39320)
parent 5eef557d
No related branches found
No related tags found
Loading
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment