egl_dri2: Enable KHR_gl_texture_2D_image
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 14 Apr 2010 20:22:27 +0000 (16:22 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 14 Apr 2010 20:22:48 +0000 (16:22 -0400)
Forgot to set the enabled bit when I implemented the extension.

src/egl/drivers/dri2/egl_dri2.c

index d941d82efb8206a008bbf8f61764b9354abbc8ff..8b6f78cdc9f70e9d6d3951aceb21855b44e25227 100644 (file)
@@ -762,6 +762,7 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
    disp->Extensions.KHR_image_base = EGL_TRUE;
    disp->Extensions.KHR_image_pixmap = EGL_TRUE;
    disp->Extensions.KHR_gl_renderbuffer_image = EGL_TRUE;
+   disp->Extensions.KHR_gl_texture_2D_image = EGL_TRUE;
 
    /* we're supporting EGL 1.4 */
    *major = 1;