From: Emil Velikov Date: Thu, 7 Dec 2017 17:07:39 +0000 (+0000) Subject: swrast: remove non-applicable GLX_SWAP_COPY_OML comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b744a494d1a7423c9472afb5813f17706a31d70;p=mesa.git 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 --- 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 };