Files
mesa/src/glx
Daniel Czarnowski cf804b4455 glx: fix crash with bad fbconfig
GLX documentation states:
	glXCreateNewContext can generate the following errors: (...)
	GLXBadFBConfig if config is not a valid GLXFBConfig

Function checks if the given config is a valid config and sets proper
error code.

Fixes currently crashing glx-fbconfig-bad Piglit test.

v2: coding style cleanups (Emil, Topi)
    use DefaultScreen macro (Emil)

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: "11.2" <mesa-stable@lists.freedesktop.org>
2016-06-09 17:55:44 +03:00
..
2015-04-27 17:28:29 +03:00
2013-01-10 22:01:31 +01:00
2014-05-23 15:24:07 +01:00
2012-10-09 14:32:02 -07:00
2016-06-09 17:55:44 +03:00
2014-05-23 15:24:07 +01:00
2015-04-27 17:28:29 +03:00
2015-10-05 14:34:16 -07:00
2015-10-05 14:34:16 -07:00
2014-05-23 15:24:07 +01:00
2016-05-25 12:23:12 -06:00
2015-04-27 17:28:29 +03:00
2014-03-03 13:08:59 -07:00
2014-05-23 15:24:07 +01:00
2014-01-17 20:00:32 +00:00
2014-01-17 20:00:32 +00:00
2015-04-27 17:28:29 +03:00
2015-02-10 22:22:33 -08:00