]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture.h
Separate abstract pixel compositions from concrete pixel formats
[libs/gl.git] / source / texture.h
index adcfa76b7245276078af013622f343dca8ac65f0..71192fef06c42416b8a9dadc26f1fe2109626a67 100644 (file)
@@ -83,9 +83,8 @@ public:
        ~Texture();
 
 protected:
-       static DataType get_alloc_type(PixelFormat);
        void set_internal_format(PixelFormat);
-       PixelFormat get_upload_format(PixelFormat) const;
+       PixelComponents get_upload_components(PixelComponents) const;
        void apply_swizzle();
        void set_parameter_i(GLenum, int) const;