/[gzz]/gzz/gfx/demo/opengl/readpixels.py
ViewVC logotype

Diff of /gzz/gfx/demo/opengl/readpixels.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Fri Sep 20 14:41:36 2002 UTC revision 1.2 by tjl, Mon Sep 23 09:09:29 2002 UTC
# Line 1  Line 1 
1    
2  class ReadScene:  class ReadScene:
3      def read(self):      def read(self):
4          bv = GZZGL.createByteVector(2000)          bv = GL.createByteVector(2000)
5          for i in range(0, 50):          for i in range(0, 50):
6              print bv.get(i)              print bv.get(i)
7          bv.readFromBuffer_ubytes(w.window, "BACK", 10, 10, 10, 10, "RGB")          bv.readFromBuffer_ubytes(w.window, "BACK", 10, 10, 10, 10, "RGB")

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26