Revert "Fix transformation in eglfs backingstore"

This reverts commit 12491f35bb.

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>
This commit is contained in:
Jon Trulson 2012-08-28 11:54:05 -06:00 committed by Qt by Nokia
parent 6210b2018a
commit 5b9edbf037

View File

@ -124,8 +124,8 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion &region, 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,