projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b828e
)
egl_dri2/x11: Fix eglPostSubBufferNV()
author
Fredrik Höglund
<fredrik@kde.org>
Tue, 6 Nov 2012 16:36:34 +0000
(17:36 +0100)
committer
Fredrik Höglund
<fredrik@kde.org>
Tue, 6 Nov 2012 23:51:09 +0000
(
00:51
+0100)
This got broken in commit
0a523a8820e8a2549ac1c7887eb1892b228af44b
.
NOTE: This is a candidate for the 9.0 branch.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55856
src/egl/drivers/dri2/platform_x11.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri2/platform_x11.c
b/src/egl/drivers/dri2/platform_x11.c
index 936e3806521ad8e65b5b39f58a9ca7a51c01259b..da61cfc74981d51b50b512cc1dd92264123d5915 100644
(file)
--- a/
src/egl/drivers/dri2/platform_x11.c
+++ b/
src/egl/drivers/dri2/platform_x11.c
@@
-794,7
+794,7
@@
static EGLBoolean
dri2_post_sub_buffer(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw,
EGLint x, EGLint y, EGLint width, EGLint height)
{
- const EGLint rect[4] = { x,
draw->Height - y - height
, width, height };
+ const EGLint rect[4] = { x,
y
, width, height };
if (x < 0 || y < 0 || width < 0 || height < 0)
_eglError(EGL_BAD_PARAMETER, "eglPostSubBufferNV");