OSDN Git Service

st/egl: error check and clamp coordinates in eglPostSubBufferNV
authorChia-I Wu <olv@lunarg.com>
Tue, 20 Dec 2011 09:18:56 +0000 (17:18 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 20 Dec 2011 09:26:18 +0000 (17:26 +0800)
commit249c6f1934d1d0a6215d02ef6b8a7e9585dfe955
treec1fc390854b18122c65807d842b12086be447ad9
parenteb7d1b9474b021769e2d1f1b64901c64130e53d8
st/egl: error check and clamp coordinates in eglPostSubBufferNV

EGL_BAD_PARAMETER should be returned when any of the coordinates is negative.
src/gallium/state_trackers/egl/common/egl_g3d_api.c