egl_dri2: Set API version for DRM display
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Jul 2010 18:26:34 +0000 (14:26 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Jul 2010 19:08:00 +0000 (15:08 -0400)
src/egl/drivers/dri2/egl_dri2.c

index 4cd7b105e02df57f4edd192625ef052bb385e2d3..efb93bcf06b48d912dee116a1b5cb686342794ba 100644 (file)
@@ -998,6 +998,10 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp,
    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;
+   *minor = 4;
+
    return EGL_TRUE;
 
  cleanup_driver: