X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Ftexturecube_backend.h;h=ed5f29cba9136c8fba21ed02393f9b70d2c47df9;hp=2b789d2f90ed0b423c0a796831f1ce5a8b4ed486;hb=f73e671dcb36c097647cddbf5b1eaaad2ffc9299;hpb=9e63512930bc7dace6dc169c65161961e5dcfcf6 diff --git a/source/backends/opengl/texturecube_backend.h b/source/backends/opengl/texturecube_backend.h index 2b789d2f..ed5f29cb 100644 --- a/source/backends/opengl/texturecube_backend.h +++ b/source/backends/opengl/texturecube_backend.h @@ -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;