]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pixelformat.h
Initialize Texture's format to an invalid value
[libs/gl.git] / source / core / pixelformat.h
index dde8594e723793a001c6166e575f18f8119aa86d..2f6038459bb7b345d610a1875cfa9e91a5cce38f 100644 (file)
@@ -1,19 +1,9 @@
 #ifndef MSP_GL_PIXELFORMAT_H_
 #define MSP_GL_PIXELFORMAT_H_
 
-#include <msp/core/attributes.h>
 #include <msp/graphics/image.h>
 #include <msp/strings/lexicalcast.h>
 #include "gl.h"
-#include <msp/gl/extensions/arb_depth_buffer_float.h>
-#include <msp/gl/extensions/arb_depth_texture.h>
-#include <msp/gl/extensions/arb_texture_float.h>
-#include <msp/gl/extensions/arb_texture_rg.h>
-#include <msp/gl/extensions/ext_bgra.h>
-#include <msp/gl/extensions/ext_texture_srgb.h>
-#include <msp/gl/extensions/oes_required_internalformat.h>
-#include <msp/gl/extensions/oes_texture_stencil8.h>
-#include <msp/gl/extensions/msp_luminance_formats.h>
 #include "datatype.h"
 
 namespace Msp {
@@ -64,6 +54,7 @@ inadvisable for programs to rely on it.
 */
 enum PixelFormat
 {
+       NO_PIXELFORMAT = 0,
        R8 = 0x4100|RED,
        R16F = 0x3200|RED,
        R32F = 0x3400|RED,