diff --git a/src/TSGL/Rectangle.cpp b/src/TSGL/Rectangle.cpp index 9788c7c0..77326039 100644 --- a/src/TSGL/Rectangle.cpp +++ b/src/TSGL/Rectangle.cpp @@ -112,7 +112,7 @@ void Rectangle::setHeight(GLfloat height) { return; } attribMutex.lock(); - myWidth = height; + myHeight = height; myYScale = height; attribMutex.unlock(); }