카테고리 없음2013. 3. 24. 17:17

GGLSurface 도 알아야 한다.  그렇게 특별한 점은 보이지 않는다.


187typedef struct {
188    GGLsizei    version;    // always set to sizeof(GGLSurface)
189    GGLuint     width;      // width in pixels
190    GGLuint     height;     // height in pixels
191    GGLint      stride;     // stride in pixels
192    GGLubyte*   data;       // pointer to the bits
193    GGLubyte    format;     // pixel format
194    GGLubyte    rfu[3];     // must be zero
195    // these values are dependent on the used format
196    union {
197        GGLint  compressedFormat;
198        GGLint  vstride;
199    };
200    void*       reserved;
201} GGLSurface;


Posted by code cat