]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texturecube.h
Add some checks for invalid arguments
[libs/gl.git] / source / core / texturecube.h
index aa43c9da0a97ca084bd2690fd1f1e7b2dae35b13..0f753c757c54b85c421aade5d6b199137bae9141 100644 (file)
@@ -68,7 +68,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 &);