X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.h;h=f99d3ef0713daa64be029a59b9d2d2a0a30a87e9;hb=4365124bd39bd6edbda6eaef64ec72a1a10565f8;hp=7ef55f80fdf17ec9c295efff74f2e914dd91e975;hpb=0a359a7508a0117b055b72bcb7dc42ddcb2ed5f9;p=libs%2Fgl.git diff --git a/source/core/texture1d.h b/source/core/texture1d.h index 7ef55f80..f99d3ef0 100644 --- a/source/core/texture1d.h +++ b/source/core/texture1d.h @@ -46,7 +46,7 @@ public: /** Replaces a range of texels in the texture. Allocated storage must exist. The image data is interpreted according to the storage format and the range must be fully inside the selected mipmap level. */ - void sub_image(unsigned level, int x, unsigned wd, const void *); + void sub_image(unsigned level, unsigned x, unsigned wd, const void *); virtual void image(const Graphics::Image &, unsigned = 0);