diff options
Diffstat (limited to 'emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp')
-rw-r--r-- | emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp b/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp index 412584d..7ae9427 100644 --- a/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp +++ b/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp @@ -1316,16 +1316,14 @@ GL_APICALL void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufsize, G GL_APICALL const GLubyte* GL_APIENTRY glGetString(GLenum name){ GET_CTX_RET(NULL) - static const GLubyte VENDOR[] = "Google"; - static const GLubyte VERSION[] = "OpenGL ES 2.0"; static const GLubyte SHADING[] = "OpenGL ES GLSL ES 1.0.17"; switch(name) { case GL_VENDOR: - return VENDOR; + return (const GLubyte*)ctx->getVendorString(); case GL_RENDERER: return (const GLubyte*)ctx->getRendererString(); case GL_VERSION: - return VERSION; + return (const GLubyte*)ctx->getVersionString(); case GL_SHADING_LANGUAGE_VERSION: return SHADING; case GL_EXTENSIONS: |