X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.h;h=c1bf8ed88bda2201b7ed3805435817227ac097b1;hb=66e4a4d23d114e49743af89e06dee8bdc6f1fbde;hp=9d5104c91e42892de2d9189b31291f4352c98e2f;hpb=190a7e11237351f6b730c28f7b16f183e8adc69c;p=libs%2Fgl.git diff --git a/source/core/texture3d.h b/source/core/texture3d.h index 9d5104c9..c1bf8ed8 100644 --- a/source/core/texture3d.h +++ b/source/core/texture3d.h @@ -24,7 +24,6 @@ public: private: void init(); - void raw_data(const std::string &); void storage(PixelFormat, unsigned, unsigned, unsigned); void storage_levels(PixelFormat, unsigned, unsigned, unsigned, unsigned); }; @@ -52,7 +51,7 @@ public: /** Replaces a cuboid-shaped region of the texture. Allocated storage must exist. The image data is interpreted according to the storage format and the region must be fully inside the texture. */ - void sub_image(unsigned level, int x, int y, int z, unsigned wd, unsigned ht, unsigned dp, const void *); + void sub_image(unsigned level, unsigned x, unsigned y, unsigned z, unsigned wd, unsigned ht, unsigned dp, const void *); /** Sets the texture's contents from an image. The image is treated as a stack of square layers and its height must be divisible by its width. If