swrast: remove non-applicable GLX_SWAP_COPY_OML comment
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 7 Dec 2017 17:07:39 +0000 (17:07 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 25 Jan 2018 17:42:57 +0000 (17:42 +0000)
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 <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/swrast/swrast.c

index 4bee01ad308b33c09d32e730b04de87b7b316ae0..8084be64393e3bfe22bc0fff26899182c45932e6 100644 (file)
@@ -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
     };