summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-09-06 11:36:14 -0600
committerBrian Paul <brianp@vmware.com>2011-09-06 11:37:28 -0600
commit81087864dd3959feabe463d2cacdd99089976945 (patch)
treee5745ba0bd4c557b30c07f54b494e077dd76fc24
parentc2e4ebf10857108450464330f8ad01c294359ad2 (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.cpp4
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;