X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;h=1c750bd1e87d301aed2f79799688e410ef1793bd;hb=4365124bd39bd6edbda6eaef64ec72a1a10565f8;hp=427e179563943b312c7ea4f87b7ae3a5595e09db;hpb=0a359a7508a0117b055b72bcb7dc42ddcb2ed5f9;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index 427e1795..1c750bd1 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -50,7 +50,7 @@ public: /** Replaces a rectangular 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 selected mipmap level. */ - void sub_image(unsigned level, int x, int y, unsigned wd, unsigned ht, const void *); + void sub_image(unsigned level, unsigned x, unsigned y, unsigned wd, unsigned ht, const void *); virtual void image(const Graphics::Image &, unsigned = 0);