commit | cf775c9cbf86676aa321eb9665fe38aeba35afc9 | [log] [tgz] |
---|---|---|
author | Elvis Lee <kwangwoong.lee@lge.com> | Wed Jul 11 11:13:51 2012 +0900 |
committer | Brian Paul <brianp@vmware.com> | Mon Jul 16 16:03:31 2012 -0600 |
tree | 22623da8d8ea8bf36a4daffe8beac9eabfa429ce | |
parent | d80fd04639a6e378c6e13c8ffaa91d43decf58a8 [diff] |
egl_dri2: NULL check for EGLNativeWindowType Some application calls eglCreateWindowSurface with EGLNativeWindowType parameter having zero value. It causes SEGV and disturbs error handling like EGL_NO_SURFACE. Signed-off-by: Elvis Lee <kwangwoong.lee@lge.com> Signed-off-by: Brian Paul <brianp@vmware.com>