]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texturecube_backend.h
Move the Resource function override of Texture classes into backend
[libs/gl.git] / source / backends / opengl / texturecube_backend.h
index 2b789d2f90ed0b423c0a796831f1ce5a8b4ed486..ed5f29cba9136c8fba21ed02393f9b70d2c47df9 100644 (file)
@@ -13,6 +13,11 @@ protected:
 
        void allocate();
        void sub_image(unsigned, unsigned, int, int, unsigned, unsigned, const void *);
+
+public:
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
+       virtual std::size_t get_data_size() const;
+       virtual void unload() { }
 };
 
 using TextureCubeBackend = OpenGLTextureCube;