From 85b862ac83b28519b572777b849f0011dd437ec1 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 27 Feb 2013 18:26:06 -0500 Subject: properly emit calls to gl passthroughs with 0 params, and test for glError --- tests/aniso.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-18-g5258