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:
parent
6210b2018a
commit
5b9edbf037
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user