diff options
author | Vinson Lee <vlee@vmware.com> | 2011-01-07 18:28:21 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-01-07 18:28:21 -0800 |
commit | bfab4d5d11b28aa6ac75b4f01a8127cfe6dbd4bb (patch) | |
tree | 1aafe229bf3a4c128bc2d43fb71e70e84d568905 | |
parent | 584c60541ca82424debfeecaba9fb177f0e65186 (diff) |
pointAtten: Initialize member variables in class PointAttenuationTest constructor.
-rw-r--r-- | src/glean/tpointatten.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glean/tpointatten.cpp b/src/glean/tpointatten.cpp index 4ff1c45..7d8a562 100644 --- a/src/glean/tpointatten.cpp +++ b/src/glean/tpointatten.cpp @@ -272,6 +272,12 @@ PointAttenuationTest::PointAttenuationTest(const char *testName, { fWidth = windowWidth; fHeight = windowHeight; + errorCode = GL_NO_ERROR; + errorPos = NULL; + for (int i = 0; i < 2; i++) { + aliasedLimits[i] = 0; + smoothLimits[i] = 0; + } } |