diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-02 18:47:20 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-02 18:47:20 +0000 |
commit | 84fd9bd151f4aa2392afcb9d7f9e054d035353d5 (patch) | |
tree | 9f061b7188892ccf1141a0866ff7629cacc560e2 /opengl/tests/hwc/hwcColorEquiv.cpp | |
parent | 414fd6fc7a1023a1ca5843e14e7634dfaf255a54 (diff) | |
parent | f8954c81a4ec43958867d1f6f497ef449bf091fd (diff) | |
download | frameworks_native-84fd9bd151f4aa2392afcb9d7f9e054d035353d5.zip frameworks_native-84fd9bd151f4aa2392afcb9d7f9e054d035353d5.tar.gz frameworks_native-84fd9bd151f4aa2392afcb9d7f9e054d035353d5.tar.bz2 |
am f8954c81: Merge "OpenGL tests: Fix unused variables"
* commit 'f8954c81a4ec43958867d1f6f497ef449bf091fd':
OpenGL tests: Fix unused variables
Diffstat (limited to 'opengl/tests/hwc/hwcColorEquiv.cpp')
-rw-r--r-- | opengl/tests/hwc/hwcColorEquiv.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/opengl/tests/hwc/hwcColorEquiv.cpp b/opengl/tests/hwc/hwcColorEquiv.cpp index c4624d2..06a0191 100644 --- a/opengl/tests/hwc/hwcColorEquiv.cpp +++ b/opengl/tests/hwc/hwcColorEquiv.cpp @@ -166,7 +166,6 @@ main(int argc, char *argv[]) int rv, opt; bool error; char *chptr; - unsigned int pass; char cmd[MAXCMD]; string str; @@ -293,14 +292,12 @@ main(int argc, char *argv[]) // Use the upper third of the display for the reference frame and // the middle third for the equivalence frame. unsigned int refHeight = height / 3; - unsigned int refPosY = 0; // Reference frame Y position unsigned int refPosX = 0; // Reference frame X position unsigned int refWidth = width - refPosX; if ((refWidth & refFormat->wMod) != 0) { refWidth += refFormat->wMod - (refWidth % refFormat->wMod); } unsigned int equivHeight = height / 3; - unsigned int equivPosY = refHeight; // Equivalence frame Y position unsigned int equivPosX = 0; // Equivalence frame X position unsigned int equivWidth = width - equivPosX; if ((equivWidth & equivFormat->wMod) != 0) { |