Created
March 18, 2014 14:39
-
-
Save amalgamatedclyde/9621360 to your computer and use it in GitHub Desktop.
in this case: self.cb = Callback(self.setup_gl_context) There are 3 instances of Callback in memory and they all reference a list that keeps growing whenever the scene is updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def setup_gl_context(self, *args): | |
#clear_buffer | |
glEnable(GL_DEPTH_TEST) | |
self.fbo.clear_buffer() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment