summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-05 15:03:15 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-03-05 15:03:15 -0800
commit164385e2b2b31293554de21c501d07f9581096f6 (patch)
tree606131adb9b625da072bf09c51c0d7f4951c6743
parent0b22bfff298894796774fdf4398044516571ea89 (diff)
object_purgeable: Fix errors in previous commits
The only thing worse than cut-and-paste errors is error introduced by dumb emacs keyboard macros. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--tests/general/object_purgeable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/general/object_purgeable.c b/tests/general/object_purgeable.c
index 402d6f040..d37931ba6 100644
--- a/tests/general/object_purgeable.c
+++ b/tests/general/object_purgeable.c
@@ -172,7 +172,7 @@ GLboolean test_Purgeable(GLuint object, GLenum type)
pass = GL_FALSE;
}
- if (!test_GetObjectParameterivAPPLE(type, obje) != GL_TRUE) {
+ if (!test_GetObjectParameterivAPPLE(type, object, GL_TRUE)) {
fprintf(stderr,
"Object marked purgeable is not set to purgeable\n");
pass = GL_FALSE;
@@ -192,7 +192,7 @@ GLboolean test_Purgeable(GLuint object, GLenum type)
pass = GL_FALSE;
}
- if (!test_GetObjectParameterivAPPLE(type, obje) != GL_TRUE) {
+ if (!test_GetObjectParameterivAPPLE(type, object, GL_TRUE)) {
fprintf(stderr,
"Object marked purgeable is not set to purgeable\n");
pass = GL_FALSE;