X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexturecube.h;h=eef377e34105742236e18e484d68f829825f27b6;hb=df9119a9bf2d348a513c515ed92953353da97b54;hp=aa43c9da0a97ca084bd2690fd1f1e7b2dae35b13;hpb=190a7e11237351f6b730c28f7b16f183e8adc69c;p=libs%2Fgl.git diff --git a/source/core/texturecube.h b/source/core/texturecube.h index aa43c9da..eef377e3 100644 --- a/source/core/texturecube.h +++ b/source/core/texturecube.h @@ -60,6 +60,8 @@ public: cannot be changed once set. */ void storage(PixelFormat, unsigned size, unsigned lv = 0); + virtual void image(unsigned, const void *); + /** Replaces contents of a single face. Allocated storage must exist. The image data is interpreted according to the storage format and must have size matching the selected mipmap level. */ @@ -68,7 +70,7 @@ public: /** Replaces a rectangular region of a face. Allocated storage must exist. The image data is interpreted according to the storage format and the region must be fully inside the face. */ - void sub_image(TextureCubeFace, unsigned level, int x, int y, unsigned w, unsigned h, const void *); + void sub_image(TextureCubeFace, unsigned level, unsigned x, unsigned y, unsigned w, unsigned h, const void *); void image(TextureCubeFace, const Graphics::Image &);