]> git.mxchange.org Git - simgear.git/blob - simgear/screen/GLBitmaps.h
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
[simgear.git] / simgear / screen / GLBitmaps.h
1 #include <simgear/compiler.h>
2
3 #include <osg/GL>
4
5 class GlBitmap
6 {
7 public:
8         GlBitmap( GLenum mode=GL_RGB, GLint width=0, GLint height=0, GLubyte *bitmap=0 );
9         ~GlBitmap();
10         GLubyte *getBitmap();
11         void copyBitmap( GlBitmap *from, GLint at_x, GLint at_y );
12 private:
13         GLint m_bytesPerPixel;
14         GLint m_width;
15         GLint m_height;
16         GLint m_bitmapSize;
17         GLubyte *m_bitmap;
18 };