From a1d9388ea7fb7515db3bc7f9a9c876b76cac1c76 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 11 Aug 2009 20:50:20 -0700 Subject: [PATCH] show that we need to glClear to be fast(er) --- opengl/tests/filter/filter.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/opengl/tests/filter/filter.cpp b/opengl/tests/filter/filter.cpp index 739bf7c41c611..2351909743b0f 100644 --- a/opengl/tests/filter/filter.cpp +++ b/opengl/tests/filter/filter.cpp @@ -157,12 +157,15 @@ int main(int argc, char** argv) } glMatrixMode(GL_MODELVIEW); - //glEnable(GL_SCISSOR_TEST); - //glScissor(0,dim,dim,h-dim); + glScissor(0,dim,dim,h-dim); + glDisable(GL_SCISSOR_TEST); for (int y=0 ; y