aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagefromyuvtextures.cpp
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-07-16 07:46:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-16 07:46:07 -0700
commit3e5f55542cbd23f1ad448cac3d29e8551204552c (patch)
tree4c2ae30895553a23e6922fbcda2d8911728ac03f /gm/imagefromyuvtextures.cpp
parentc83a29759a5c2966da5ab973e4fd90763e4c962b (diff)
Various GL testing fixes
Check for GL context when printing NVPR error string. Fix some indenting. Review URL: https://codereview.chromium.org/1235283004
Diffstat (limited to 'gm/imagefromyuvtextures.cpp')
-rw-r--r--gm/imagefromyuvtextures.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp
index 8dbfffd831..7767c4661d 100644
--- a/gm/imagefromyuvtextures.cpp
+++ b/gm/imagefromyuvtextures.cpp
@@ -59,8 +59,7 @@ protected:
signed char* uvPixels[2];
yPixels = static_cast<unsigned char*>(fYUVBmps[0].getPixels());
uvPixels[0] = static_cast<signed char*>(fYUVBmps[1].getPixels());
- uvPixels[1] = static_cast<signed char*>(fYUVBmps[2
- ].getPixels());
+ uvPixels[1] = static_cast<signed char*>(fYUVBmps[2].getPixels());
// Here we encode using the NTC encoding (even though we will draw it with all the supported
// yuv color spaces when converted back to RGB)