summaryrefslogtreecommitdiff
path: root/glamor/glamor_egl.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-30 18:33:09 -0800
committerEric Anholt <eric@anholt.net>2014-03-17 14:30:49 -0700
commit4e21b7ee49bc8f33c6211411d80aa70b16998adc (patch)
treebcfc217df4df3916274eb85a0f4381f8f78d534b /glamor/glamor_egl.c
parent92e2125c5219c7b270785f063fe2560583b2baff (diff)
glamor: Drop the body of the function for enabling DRI3 extensions.
The flag is already being set at glamor_egl_screen_init() time, so no need for the driver to separately call this. That said, leave the function around to keep the ABI compatibility. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Markus Wick <markus@selfnet.de>
Diffstat (limited to 'glamor/glamor_egl.c')
-rw-r--r--glamor/glamor_egl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
index f24cb28a5..f3835afa2 100644
--- a/glamor/glamor_egl.c
+++ b/glamor/glamor_egl.c
@@ -831,14 +831,9 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
return TRUE;
}
+/** Stub to retain compatibility with pre-server-1.16 ABI. */
Bool
glamor_egl_init_textured_pixmap(ScreenPtr screen)
{
- ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
- struct glamor_egl_screen_private *glamor_egl =
- glamor_egl_get_screen_private(scrn);
-
- if (glamor_egl->dri3_capable)
- glamor_enable_dri3(screen);
return TRUE;
}