From d24c13b516c6b69cc0e16176929749b4fb626917 Mon Sep 17 00:00:00 2001 From: "gman@chromium.org" Date: Thu, 10 May 2012 23:35:36 +0000 Subject: make GLboolean print GL_TRUE, GL_FALSE when debugging. TEST=used it for debugging BUG=none R=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136446 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/command_buffer/common/gles2_cmd_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpu/command_buffer') diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc index 092b2cd..736e673 100644 --- a/gpu/command_buffer/common/gles2_cmd_utils.cc +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc @@ -646,7 +646,7 @@ std::string GLES2Util::GetStringError(uint32 value) { } std::string GLES2Util::GetStringBool(uint32 value) { - return value ? "true" : "false"; + return value ? "GL_TRUE" : "GL_FALSE"; } std::string GLES2Util::GetQualifiedEnumString( -- cgit v1.1