summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-01-15 14:17:46 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-01-15 14:19:04 -0800
commitd786bf2c2acbafe2ac32e7fd5b8f9a6b09f3d968 (patch)
treeb02ef6ef33128b36adc476bdde6e984e4387ad35 /src/egl
parent45575ff388cbb4c49480c6e5e8eea32d5c7d74a4 (diff)
egl/dri2: Fix typo in the previous commit
I didn't notice this due to a noobed piglit run. It wasn't previously noticed because the patch was only run on a driver that supported GLES3. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 09659597044..351fbf48278 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -742,7 +742,7 @@ dri2_create_context(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf,
api = __DRI_API_GLES;
break;
case 2:
- api = __DRI_API_GLES3;
+ api = __DRI_API_GLES2;
break;
case 3:
api = __DRI_API_GLES3;