From 7b744a494d1a7423c9472afb5813f17706a31d70 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 7 Dec 2017 17:07:39 +0000 Subject: [PATCH] swrast: remove non-applicable GLX_SWAP_COPY_OML comment Noticed while skimming for GLX_ instances in the dri codebase. Comment is completely off and was in such a state since day 1. Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/swrast/swrast.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 4bee01ad308..8084be64393 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -223,9 +223,6 @@ swrastFillInModes(__DRIscreen *psp, unsigned back_buffer_factor; mesa_format format; - /* GLX_SWAP_COPY_OML is only supported because the Intel driver doesn't - * support pageflipping at all. - */ static const GLenum back_buffer_modes[] = { __DRI_ATTRIB_SWAP_NONE, __DRI_ATTRIB_SWAP_UNDEFINED }; -- 2.30.2