aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-27 18:26:06 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-27 18:26:06 -0500
commit85b862ac83b28519b572777b849f0011dd437ec1 (patch)
treea3a97473550b078cc8d288e4d5a0fd25fbf7673b /tests
parent4b67d79bd54fae6bbab74ee83a6e16829f311717 (diff)
properly emit calls to gl passthroughs with 0 params, and test for glError
Diffstat (limited to 'tests')
-rw-r--r--tests/aniso.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/aniso.c b/tests/aniso.c
index e673e228..e02c20ac 100644
--- a/tests/aniso.c
+++ b/tests/aniso.c
@@ -145,6 +145,11 @@ int main(int argc, char *argv[])
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso);
}
+ {
+ assert(!glGetError());
+ glBindFramebuffer(GL_RENDERBUFFER, 0);
+ assert(glGetError());
+ }
// Prepare and Render