Re: [Mesa-dev] [PATCH] mesa: Set api prefix to version string when overriding version

2015-10-12 Thread Tapani Pälli
On 10/13/2015 09:35 AM, Boyan Ding wrote: 2015-10-13 13:49 GMT+08:00 Tapani Pälli : Otherwise there are problems when user overrides version and application such as Piglit wants to detect used api with glGetString(GL_VERSION). Below is example when using MESA_GLES_VERSION_OVERRIDE=3.1. Befor

Re: [Mesa-dev] [PATCH] mesa: Set api prefix to version string when overriding version

2015-10-12 Thread Boyan Ding
2015-10-13 13:49 GMT+08:00 Tapani Pälli : > Otherwise there are problems when user overrides version and application > such as Piglit wants to detect used api with glGetString(GL_VERSION). > > Below is example when using MESA_GLES_VERSION_OVERRIDE=3.1. > > Before: > "3.1 Mesa 11.1.0-devel (

[Mesa-dev] [PATCH] mesa: Set api prefix to version string when overriding version

2015-10-12 Thread Tapani Pälli
Otherwise there are problems when user overrides version and application such as Piglit wants to detect used api with glGetString(GL_VERSION). Below is example when using MESA_GLES_VERSION_OVERRIDE=3.1. Before: "3.1 Mesa 11.1.0-devel (git-24a1a15)" After: "OpenGL ES 3.1 Mesa 11.1