summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-19 16:12:13 -0700
committerIan Romanick <[email protected]>2012-08-14 15:41:03 -0700
commitdbecb413008c19e1864de93d9a8a9123bfee46e7 (patch)
tree3d46c86c2f417e10aa03d4af0192f699b441e858 /src/egl/drivers/dri2
parenta2ce2eba26639327d6080fbf3dd64d4ff5ac3bcb (diff)
egl: Allow OpenGL ES 3.0 as a version
In the DRI2 back-end this will get the same API as GLES 2.0. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index c3068c36cfc..423d18d7759 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -674,6 +674,7 @@ dri2_create_context(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf,
api = __DRI_API_GLES;
break;
case 2:
+ case 3:
api = __DRI_API_GLES2;
break;
default: