Fix piglit/egl-create-surface
Two commits to implement the check that's the purpose of egl-create-surface.
This is about failing calls in the way the spec asks us to, so hopefully there are no current applications relying on Mesa not failing.
Two commits to implement the check that's the purpose of egl-create-surface.
This is about failing calls in the way the spec asks us to, so hopefully there are no current applications relying on Mesa not failing.