From: Kristian Høgsberg Date: Thu, 29 Jul 2010 18:26:34 +0000 (-0400) Subject: egl_dri2: Set API version for DRM display X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8a72460b799e3d5a065e4b00f9b4f24139dac52;p=mesa.git egl_dri2: Set API version for DRM display --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 4cd7b105e02..efb93bcf06b 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -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: