summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/egl_dri2.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-07-18 14:26:24 -0700
committerIan Romanick <ian.d.romanick@intel.com>2012-08-06 15:37:04 -0700
commit63adb6b9eaa723f6bf9603f3f567e04451df857e (patch)
treee38014650a01a9fbfdb9e643bcfad581179aa05a /src/egl/drivers/dri2/egl_dri2.c
parent102617bc5206e459bb1743d2d72341dbfe77bc58 (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 <ian.d.romanick@intel.com> Cc: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
0 files changed, 0 insertions, 0 deletions