diff options
Diffstat (limited to 'tests/general/object_purgeable.c')
-rw-r--r-- | tests/general/object_purgeable.c | 4 |
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; |