diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 18:26:06 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-27 18:26:06 -0500 |
commit | 85b862ac83b28519b572777b849f0011dd437ec1 (patch) | |
tree | a3a97473550b078cc8d288e4d5a0fd25fbf7673b /tests | |
parent | 4b67d79bd54fae6bbab74ee83a6e16829f311717 (diff) |
properly emit calls to gl passthroughs with 0 params, and test for glError
Diffstat (limited to 'tests')
-rw-r--r-- | tests/aniso.c | 5 |
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 |