From: Jon H. <jon...@us...> - 2007-02-20 10:01:43
|
Update of /cvsroot/shallows/shallows/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20233/shallows/src Modified Files: GLProgram.cpp Log Message: Allows the user to omit specifying framebuffer Index: GLProgram.cpp =================================================================== RCS file: /cvsroot/shallows/shallows/src/GLProgram.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** GLProgram.cpp 4 Dec 2006 10:25:30 -0000 1.34 --- GLProgram.cpp 20 Feb 2007 10:01:34 -0000 1.35 *************** *** 218,222 **** glActiveTextureARB((GLenum) (GL_TEXTURE0_ARB)); CHECK_GL_DEBUG; ! frameBuffer_->validateCompleteness(); CHECK_GL_DEBUG; glUseProgram(programHandle_); --- 218,223 ---- glActiveTextureARB((GLenum) (GL_TEXTURE0_ARB)); CHECK_GL_DEBUG; ! if (frameBuffer_) ! frameBuffer_->validateCompleteness(); CHECK_GL_DEBUG; glUseProgram(programHandle_); |