diff options
author | Emil Velikov <[email protected]> | 2017-02-09 13:35:44 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-13 10:12:36 +0000 |
commit | 404a5ca088773063da5a3dce359de19a0231b8fb (patch) | |
tree | ddb8c7b1a7513868f5158b74e51c0a3ddab0f4db /src | |
parent | 4f080b46a8c629f416d4ba69d378f9083851a249 (diff) |
glx: remove always true ifdef guards
The two symbols referenced were introduced with v2.2 and 2.3 of
the dri2proto package and we require dri2proto >= 2.6.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/dri2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glx/dri2.c b/src/glx/dri2.c index 9ebd00ac849..f7e613388a6 100644 --- a/src/glx/dri2.c +++ b/src/glx/dri2.c @@ -94,7 +94,6 @@ DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire) switch ((wire->u.u.type & 0x7f) - info->codes->first_event) { -#ifdef X_DRI2SwapBuffers case DRI2_BufferSwapComplete: { GLXBufferSwapComplete *aevent = (GLXBufferSwapComplete *)event; @@ -143,8 +142,6 @@ DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire) return True; } -#endif -#ifdef DRI2_InvalidateBuffers case DRI2_InvalidateBuffers: { xDRI2InvalidateBuffers *awire = (xDRI2InvalidateBuffers *)wire; @@ -152,7 +149,6 @@ DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire) dri2InvalidateBuffers(dpy, awire->drawable); return False; } -#endif default: /* client doesn't support server event */ break; |