]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.cpp
Always set uniform array size to at least one
[libs/gl.git] / source / core / texture3d.cpp
index 0125dd0930a16a8a5dbc6cb5fe3c025cfdaddab9..c901556aa52f7aa2b84357f3ce784bf3d440279c 100644 (file)
@@ -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);