/[libvob]/libvob/include/vob/vobs/Texture.hxx
ViewVC logotype

Diff of /libvob/include/vob/vobs/Texture.hxx

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

revision 1.4 by tjl, Sun Jun 29 08:13:15 2003 UTC revision 1.5 by tjl, Fri Oct 10 13:52:22 2003 UTC
# Line 71  struct CopyTexSubImage2D { Line 71  struct CopyTexSubImage2D {
71          glCopyTexSubImage2D(target, level, x, y,          glCopyTexSubImage2D(target, level, x, y,
72                      (int)ras[0], (int)ras[1] - h,                      (int)ras[0], (int)ras[1] - h,
73                  w, h);                  w, h);
74          GLERR          GLERR;
75      }      }
76    
77  };  };
# Line 92  struct TexSubImage2D { Line 92  struct TexSubImage2D {
92          f(target, level, x, y, w, h, format, type, pixels);          f(target, level, x, y, w, h, format, type, pixels);
93      }      }
94      void render() const {      void render() const {
95          GLERR          GLERR;
96          glPushAttrib(GL_PIXEL_MODE_BIT);          glPushAttrib(GL_PIXEL_MODE_BIT);
97          glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT);          glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT);
98          glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);          glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
# Line 102  struct TexSubImage2D { Line 102  struct TexSubImage2D {
102    
103          glPopClientAttrib();          glPopClientAttrib();
104          glPopAttrib();          glPopAttrib();
105          GLERR          GLERR;
106      }      }
107    
108  };  };

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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