diff options
author | Jon Trulson <jtrulson@ics.com> | 2012-08-28 11:54:05 -0600 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-29 14:09:13 +0200 |
commit | 5b9edbf0371fd38de62c5945a5c143d78cc39f14 (patch) | |
tree | f75328609eeb1ea8fbe48efefe9797e5cd201441 /src/plugins | |
parent | 6210b2018ac917325a9c53d311ed53810909373e (diff) |
Revert "Fix transformation in eglfs backingstore"
This reverts commit 12491f35bbea7008b15fb0ba0ee7ea5bf6eb6b6c.
This change is not needed on eglfs. It causes widget based apps to be
rendered with Y inverted.
Change-Id: Idb23fa22c438442b81882b64bf84d6aa0662d27b
Reviewed-by: Laszlo Agocs <lagocs83@gmail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsbackingstore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp index 8ad0aab522..2caf1064cf 100644 --- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp +++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp @@ -124,8 +124,8 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion ®ion, const QPo GLfloat x1 = (r.left() / sr.width()) * 2 - 1; GLfloat x2 = (r.right() / sr.width()) * 2 - 1; - GLfloat y1 = -1 * ((r.top() / sr.height()) * 2 - 1); - GLfloat y2 = -1 * ((r.bottom() / sr.height()) * 2 - 1); + GLfloat y1 = (r.top() / sr.height()) * 2 - 1; + GLfloat y2 = (r.bottom() / sr.height()) * 2 - 1; const GLfloat vertexCoordinates[] = { x1, y1, |