glx: drop always-true #ifdef
authorEric Engestrom <eric@engestrom.ch>
Sat, 23 May 2020 00:21:29 +0000 (02:21 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 09:08:00 +0000 (09:08 +0000)
Meson already guarantees we have at least xdamage >= 1.1

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5862>

src/glx/dri_glx.c

index 6e9412d3fb179b67d174be806a9b581ebabe64ee..3e0873524c065b062f70502007843548718a9d10 100644 (file)
@@ -381,9 +381,7 @@ static const __DRIgetDrawableInfoExtension getDrawableInfoExtension = {
 static const __DRIextension *loader_extensions[] = {
    &systemTimeExtension.base,
    &getDrawableInfoExtension.base,
-#ifdef XDAMAGE_1_1_INTERFACE
    &damageExtension.base,
-#endif
    NULL
 };