diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 23:35:36 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 23:35:36 +0000 |
commit | d24c13b516c6b69cc0e16176929749b4fb626917 (patch) | |
tree | 3b2d9fdd8d1abe6d5334ecc3c9393e6350f0fbaa /gpu/command_buffer | |
parent | c6c921e9cda6b697c54a50305e2310dbfe842a19 (diff) | |
download | chromium_src-d24c13b516c6b69cc0e16176929749b4fb626917.zip chromium_src-d24c13b516c6b69cc0e16176929749b4fb626917.tar.gz chromium_src-d24c13b516c6b69cc0e16176929749b4fb626917.tar.bz2 |
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
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r-- | gpu/command_buffer/common/gles2_cmd_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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( |