示例#1
0
 def clear(self):
     """Clear the Display."""
     # opengles.glBindFramebuffer(GL_FRAMEBUFFER,0)
     opengles.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
示例#2
0
文件: Display.py 项目: tipam/pi3d
 def clear(self):
   """Clear the Display."""
   # opengles.glBindFramebuffer(GL_FRAMEBUFFER,0)
   opengles.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)