X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.h;h=abe6c8879e5dbd07469bc1319e2fc2e6ac91230a;hp=efd0517d628dc168c45f1b506a2133c673dcbcec;hb=HEAD;hpb=260ecf71f02d4b3397e4f6c80d96a7c4ba473185 diff --git a/source/core/texture1d.h b/source/core/texture1d.h index efd0517d..abe6c887 100644 --- a/source/core/texture1d.h +++ b/source/core/texture1d.h @@ -29,7 +29,6 @@ public: private: unsigned width = 0; - unsigned levels = 0; public: /** Sets storage format and size and allocates memory for the texture. If @@ -49,13 +48,7 @@ public: unsigned get_width() const { return width; } private: - unsigned get_n_levels() const; unsigned get_level_size(unsigned) const; - -public: - virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; } - virtual std::size_t get_data_size() const; - virtual void unload() { } }; } // namespace GL