diff options
author | Chad Versace <[email protected]> | 2012-11-09 14:06:41 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2012-11-19 08:18:22 -0800 |
commit | 5cf8536690226b3bd19d19197fcec501a278703c (patch) | |
tree | d56e475147e0d6cbdc74bfab9d846c63af02a2d2 /src/mesa | |
parent | 243cf7a924eaef78ce0d5150747fae6c3c4e6974 (diff) |
egl/dri2: Set error code when dri2CreateContextAttribs fails
When dri2CreateContextContextAttribs failed, eglCreateContext returned
NULL yet set the error code to EGL_SUCCESS! The problem was that
eglCreateContext ignored the error code returned by
driCreateContextAttribs.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56706
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions