diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-11-20 14:42:55 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-11-20 14:42:55 -0800 |
commit | 4fbc690813006311e7c7be7582c950b7adfcf322 (patch) | |
tree | 8f9d727f710d0a59365c4d94d92d310631e0efc4 /tests | |
parent | 1c1f588d5bd1931b83e9526c2c09389b12e4a5a4 (diff) |
depth-tex-modes: Fix stupid off-by-one error in array size.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/texturing/depth-tex-modes-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texturing/depth-tex-modes-common.c b/tests/texturing/depth-tex-modes-common.c index 781f4fc3e..8fa605a5d 100644 --- a/tests/texturing/depth-tex-modes-common.c +++ b/tests/texturing/depth-tex-modes-common.c @@ -106,7 +106,7 @@ calculate_expected_color(GLenum depth_mode, GLenum operand, const float *env_color, float texel, float *result) { - float color[3]; + float color[4]; switch (depth_mode) { case GL_ALPHA: |