diff options
author | Kristian Høgsberg <[email protected]> | 2011-03-07 20:18:29 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-03-26 10:57:31 -0400 |
commit | 981e338611699ed965966a161b7ba0aaa3e87ee0 (patch) | |
tree | 1661e46465da35ca2be84ec8c8f4e999050f8fea /src/egl/drivers/dri2/platform_drm.c | |
parent | 56ef62d9885f805bbfb2243dc860ff425d5b4d3b (diff) |
egl_dri2: Enable image extensions in one place
We know what we can support in egl_dri2.c so just enable the extensions
there.
Diffstat (limited to 'src/egl/drivers/dri2/platform_drm.c')
-rw-r--r-- | src/egl/drivers/dri2/platform_drm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index bd4fa80af59..9c6d3ddac22 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -708,11 +708,6 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp) for (i = 0; dri2_dpy->driver_configs[i]; i++) dri2_add_config(disp, dri2_dpy->driver_configs[i], i + 1, 0, 0, NULL); - disp->Extensions.MESA_drm_image = EGL_TRUE; - disp->Extensions.KHR_image_base = EGL_TRUE; - disp->Extensions.KHR_gl_renderbuffer_image = EGL_TRUE; - disp->Extensions.KHR_gl_texture_2D_image = EGL_TRUE; - #ifdef HAVE_WAYLAND_PLATFORM disp->Extensions.WL_bind_wayland_display = EGL_TRUE; #endif |