egl_dri2/x11: error check coordinates in eglPostSubBufferNV
authorChia-I Wu <olv@lunarg.com>
Tue, 20 Dec 2011 09:25:22 +0000 (17:25 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 20 Dec 2011 09:26:18 +0000 (17:26 +0800)
commiteb7d1b9474b021769e2d1f1b64901c64130e53d8
tree372eef938941572e34b35c1911b1c82379a8a611
parent75772842133d101223ca31400e100b83476f327b
egl_dri2/x11: error check coordinates in eglPostSubBufferNV

EGL_BAD_PARAMETER should be returned when any of the coordinates is negative.
src/egl/drivers/dri2/platform_x11.c