diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-29 14:26:34 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-29 15:08:00 -0400 |
commit | e8a72460b799e3d5a065e4b00f9b4f24139dac52 (patch) | |
tree | 1ed9319b543aa05732a1eae0560e5cad5bc35185 /src/egl | |
parent | d8d7a3e0f9629a220e2394dd7c6634f2d6a93e20 (diff) |
egl_dri2: Set API version for DRM display
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: |