/[libvob]/libvob/include/vob/util/ImageLoader.hxx
ViewVC logotype

Diff of /libvob/include/vob/util/ImageLoader.hxx

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

revision 1.3 by tjl, Sun Sep 28 13:02:17 2003 UTC revision 1.4 by tjl, Fri Oct 10 13:52:21 2003 UTC
# Line 70  namespace ImageLoader { Line 70  namespace ImageLoader {
70          vector<GLuint> data;          vector<GLuint> data;
71      public:      public:
72          RGBARaster(int w, int h, vector<GLuint> &data0) :          RGBARaster(int w, int h, vector<GLuint> &data0) :
73              width(w), height(h), data(data) {              width(w), height(h), data(data0) {
74          }          }
75          int getWidth() { return width; }          int getWidth() { return width; }
76          int getHeight() { return height; }          int getHeight() { return height; }
# Line 88  namespace ImageLoader { Line 88  namespace ImageLoader {
88          GLenum getGLType() {          GLenum getGLType() {
89              return GL_UNSIGNED_BYTE;              return GL_UNSIGNED_BYTE;
90          }          }
91            const vector<GLuint> &getData() { return data; }
92          void *getPointer() {          void *getPointer() {
93              return &(data[0]);              return &(data[0]);
94          }          }

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

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