diff options
author | Samuel Rødal <[email protected]> | 2011-09-12 13:00:30 +0200 |
---|---|---|
committer | Gunnar Sletta <[email protected]> | 2011-09-12 13:09:19 +0200 |
commit | 17511e199f82ffb9e245fbed3872c9c73bcf2a00 (patch) | |
tree | 16ffc4fa035d956ceb42fda8759a952e6600b618 /src/gui/opengl/qopenglframebufferobject.h | |
parent | 2ce969d7f00483991e9727c201dc3144b6efa281 (diff) |
Fixed auto-test failure in tst_QOpenGL.
QOpenGLFramebufferObject::height() was returning the width...
Change-Id: I521c2df02e00015998dc31a74481113af26e1ba6
Reviewed-on: http://codereview.qt-project.org/4663
Reviewed-by: Qt Sanity Bot <[email protected]>
Reviewed-by: Gunnar Sletta <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopenglframebufferobject.h')
-rw-r--r-- | src/gui/opengl/qopenglframebufferobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglframebufferobject.h b/src/gui/opengl/qopenglframebufferobject.h index e25ec6b15cd..17ee74aa94b 100644 --- a/src/gui/opengl/qopenglframebufferobject.h +++ b/src/gui/opengl/qopenglframebufferobject.h @@ -93,7 +93,7 @@ public: bool release(); int width() const { return size().width(); } - int height() const { return size().width(); } + int height() const { return size().height(); } GLuint texture() const; QSize size() const; |