OSDN Git Service

egl/dri2: Fix typo in the previous commit
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 15 Jan 2013 22:17:46 +0000 (14:17 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 15 Jan 2013 22:19:04 +0000 (14:19 -0800)
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>
src/egl/drivers/dri2/egl_dri2.c

index 0965959..351fbf4 100644 (file)
@@ -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;