From cc2b1560e87369676a2d13f17bd1ff4021a91819 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 21 May 2012 14:01:37 -0700 Subject: [PATCH] fix EGL_CLIENT_STRING it should read OpenGL_ES (with an underscore) Bug: 6529643 Change-Id: I7caf07793bffe5a8dcceaff496a222077486fc87 --- opengl/libagl/egl.cpp | 2 +- opengl/libs/EGL/egl_display.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 92d32a282..e6d065ab3 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -794,7 +794,7 @@ struct config_management_t { #define VERSION_MINOR 2 static char const * const gVendorString = "Google Inc."; static char const * const gVersionString = "1.2 Android Driver 1.2.0"; -static char const * const gClientApiString = "OpenGL ES"; +static char const * const gClientApiString = "OpenGL_ES"; static char const * const gExtensionsString = "EGL_KHR_image_base " // "KHR_image_pixmap " diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp index 2cd1a938c..a46aa384a 100644 --- a/opengl/libs/EGL/egl_display.cpp +++ b/opengl/libs/EGL/egl_display.cpp @@ -32,7 +32,7 @@ namespace android { static char const * const sVendorString = "Android"; static char const * const sVersionString = "1.4 Android META-EGL"; -static char const * const sClientApiString = "OpenGL ES"; +static char const * const sClientApiString = "OpenGL_ES"; // this is the list of EGL extensions that are exposed to applications // some of them are mandatory because used by the ANDROID system.