Commit 31fc7d36 by Nicolas Capens

Fix the OpenGL ES 1.1 version string.

The 1.1.12 spec states that the string must have the format "OpenGL ES-XX N.M" where XX is a two-character profile identifier, either CM for the Common profile or CL for the Common-List profile, and N.M are the major and minor version numbers of the OpenGL ES implementation, separated by a period (currently 1.1). Bug 29072494 Change-Id: Ia7e55266c1cb1d24279f2e93f31d269f948dc647 Reviewed-on: https://swiftshader-review.googlesource.com/5490Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 2337a192
......@@ -2272,9 +2272,9 @@ const GLubyte* GetString(GLenum name)
case GL_VENDOR:
return (GLubyte*)"Google Inc.";
case GL_RENDERER:
return (GLubyte*)"Google SwiftShader";
return (GLubyte*)"Google SwiftShader " VERSION_STRING;
case GL_VERSION:
return (GLubyte*)"OpenGL ES 1.1 SwiftShader " VERSION_STRING;
return (GLubyte*)"OpenGL ES-CM 1.1";
case GL_EXTENSIONS:
// Keep list sorted in following order:
// OES extensions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment