summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_from_ssa.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-06-18 20:39:28 +0100
committerEmil Velikov <[email protected]>2015-06-30 17:35:25 +0100
commitaf2aea40d29dffd5e584432e0652db114113469b (patch)
treeb78f01a33ab1fe91efd83af4eb8f10d90a84e336 /src/glsl/nir/nir_from_ssa.c
parent4ea5223a95436b76a3f808732c565e9833f84551 (diff)
egl/x11: handle when invalid drawable is passed in create_surface
0 is not used as a valid drawable id, as such there is no point in attempting to query its geometry. Just bail out early and provide the more meaningful EGL_BAD_NATIVE_WINDOW to the user. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_from_ssa.c')
0 files changed, 0 insertions, 0 deletions