OSDN Git Service

fix EGL_CLIENT_STRING
authorMathias Agopian <mathias@google.com>
Mon, 21 May 2012 21:01:37 +0000 (14:01 -0700)
committerMathias Agopian <mathias@google.com>
Mon, 21 May 2012 21:02:53 +0000 (14:02 -0700)
it should read OpenGL_ES (with an underscore)

Bug: 6529643

Change-Id: I7caf07793bffe5a8dcceaff496a222077486fc87

opengl/libagl/egl.cpp
opengl/libs/EGL/egl_display.cpp

index 92d32a2..e6d065a 100644 (file)
@@ -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 "
index 2cd1a93..a46aa38 100644 (file)
@@ -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.