diff options
author | Daniel Czarnowski <[email protected]> | 2016-02-10 09:36:05 -0800 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2016-06-09 17:55:44 +0300 |
commit | cf804b4455fac9e585b3600a8318caaced9c23de (patch) | |
tree | c4da8622281deeb9b8a9ef5361a8d69c2b638396 /src/compiler/spirv | |
parent | 2d140ae70ac6ad69f39d427d95bd622d5640a1b7 (diff) |
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 <[email protected]>
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: "11.2" <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
0 files changed, 0 insertions, 0 deletions