On Tuesday, June 10, 2014 10:51:40 AM Jon TURNEY wrote:
> Nearly all the error cases in *createScreen() issue an error message to 
diagnose
> the failure to initialize before branching to handle_error.  The few 
remaining
> error cases which don't should probably do the same.
> 
> (At the moment, it seems this can be triggered in drisw with an X server 
which
> reports definite values for MAX_PBUFFFER_(WIDTH|HEIGHT|SIZE), because those
> attributes are checked for an exact match against 0.)
> 
> Signed-off-by: Jon TURNEY <jon.tur...@dronecode.org.uk>

Yes, please!  I've hit cases where the X server loads a different DRI driver 
than the client, and they disagree on visuals, so things just fail.  It 
doesn't happen too often, but when it does, it can be quite bewildering.  More 
error messages are definitely welcome.

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to