Commit 51812532 authored by Robert Menzel's avatar Robert Menzel
Browse files

changed type as no negative texture sizes are useful

parent 55d9f005
......@@ -43,8 +43,8 @@ public:
// ============================================================================================ METHODS \/
// ==================================================================================================== \/
public:
inline TextureControl& size ( const glm::ivec2 &_size ) { return size(_size.x, _size.y); }
inline TextureControl& size ( const glm::ivec3 &_size ) { return size(_size.x, _size.y, _size.z); }
inline TextureControl& size ( const glm::uvec2 &_size ) { return size(_size.x, _size.y); }
inline TextureControl& size ( const glm::uvec3 &_size ) { return size(_size.x, _size.y, _size.z); }
inline TextureControl& size (GLsizei _width, GLsizei _height = 0, GLsizei _depth = 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment