diff options
author | Brian Paul <brianp@vmware.com> | 2011-09-06 11:36:14 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-09-06 11:37:28 -0600 |
commit | 81087864dd3959feabe463d2cacdd99089976945 (patch) | |
tree | e5745ba0bd4c557b30c07f54b494e077dd76fc24 | |
parent | c2e4ebf10857108450464330f8ad01c294359ad2 (diff) |
texture_srgb: add int casts to make log message readable
The values were being interpreted as chars before.
-rw-r--r-- | src/glean/ttexture_srgb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glean/ttexture_srgb.cpp b/src/glean/ttexture_srgb.cpp index 10909c0..a79019c 100644 --- a/src/glean/ttexture_srgb.cpp +++ b/src/glean/ttexture_srgb.cpp @@ -128,9 +128,9 @@ TextureSRGBTest::testImageTransfer(void) env->log << "Expected value at [" << j << "] should be " - << image[j] + << (int) image[j] << " found " - << image2[j] + << (int) image2[j] << "\n"; delete [] image; return false; |