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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.