diff options
author | Ian Romanick <[email protected]> | 2012-07-18 14:26:24 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-06 15:37:04 -0700 |
commit | 63adb6b9eaa723f6bf9603f3f567e04451df857e (patch) | |
tree | e38014650a01a9fbfdb9e643bcfad581179aa05a /src/egl/drivers | |
parent | 102617bc5206e459bb1743d2d72341dbfe77bc58 (diff) |
dri2: Fix bug in attribute handling for non-desktop OpenGL contexts
Previously an error would be generated if any attributes were specified when
creating a non-desktop OpenGL context. This was a mistake, and it will
prevent old drivers from working with new EGL libraries that add support for
the createContextAttribs interface. Instead, match the behavior of
EGL_KHR_create_context: allow versions that make sense, reject non-zero flags.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Ian Romanick <[email protected]>
Cc: Kristian Høgsberg <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/drivers')
0 files changed, 0 insertions, 0 deletions