X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.h;h=1fbcf4ee43044436a38cfdef6a2786762edd1ed6;hb=4365124bd39bd6edbda6eaef64ec72a1a10565f8;hp=9d5104c91e42892de2d9189b31291f4352c98e2f;hpb=0a359a7508a0117b055b72bcb7dc42ddcb2ed5f9;p=libs%2Fgl.git diff --git a/source/core/texture3d.h b/source/core/texture3d.h index 9d5104c9..1fbcf4ee 100644 --- a/source/core/texture3d.h +++ b/source/core/texture3d.h @@ -52,7 +52,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