]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Unbind vertex buffer after updating array data
[libs/gl.git] / source / pixelformat.h
index 87cbe7546c95a8ca0125c1ef5fbb784139d10f27..6980ec8a959513b047d6372375d743824481e4ed 100644 (file)
@@ -8,7 +8,8 @@ Distributed under the LGPL
 #ifndef MSP_GL_PIXELFORMAT_H_
 #define MSP_GL_PIXELFORMAT_H_
 
-#include <GL/gl.h>
+#include <istream>
+#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -30,6 +31,8 @@ enum PixelFormat
        LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA
 };
 
+std::istream &operator>>(std::istream &, PixelFormat &);
+
 } // namespace GL
 } // namespace Msp