X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.cpp;fp=source%2Fcore%2Ftexture3d.cpp;h=c901556aa52f7aa2b84357f3ce784bf3d440279c;hb=260ecf71f02d4b3397e4f6c80d96a7c4ba473185;hp=0125dd0930a16a8a5dbc6cb5fe3c025cfdaddab9;hpb=a7948dfc4192efbbf2b5ca9258fd7e72b971f8ea;p=libs%2Fgl.git diff --git a/source/core/texture3d.cpp b/source/core/texture3d.cpp index 0125dd09..c901556a 100644 --- a/source/core/texture3d.cpp +++ b/source/core/texture3d.cpp @@ -111,16 +111,10 @@ Texture3D::Loader::Loader(Texture3D &t, Collection &c): void Texture3D::Loader::init() { - add("raw_data", &Loader::raw_data); add("storage", &Loader::storage); add("storage", &Loader::storage_levels); } -void Texture3D::Loader::raw_data(const string &data) -{ - obj.image(0, data.data()); -} - void Texture3D::Loader::storage(PixelFormat fmt, unsigned w, unsigned h, unsigned d) { obj.storage(fmt, w, h, d);