]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Redesign framebuffer attachment management
[libs/gl.git] / source / core / texture.h
index 58e22d358a6a82f2f321b3ba553b9a5b2ce00fc6..e3697d2e712404940728085cce8b7ae0ea2818e5 100644 (file)
@@ -86,6 +86,8 @@ protected:
        void set_parameter_i(GLenum, int) const;
 
 public:
+       PixelFormat get_format() const { return format; }
+
        static bool can_generate_mipmap();
 
        void generate_mipmap();