i965: reference __DRI_ATTRIB_SWAP_COPY token over the GLX one
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 5 Sep 2018 16:35:15 +0000 (17:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 3 Oct 2018 12:38:06 +0000 (13:38 +0100)
Earlier commit updated the code to use the DRI tokens, yet forgot to
update the comment.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/i965/intel_screen.c

index c57fb5404881ec9cd1db1b17a71037db9420841f..c3bd30f783702a03a16b7e255e20881eeb645c32 100644 (file)
@@ -2149,7 +2149,7 @@ intel_screen_make_configs(__DRIscreen *dri_screen)
       MESA_FORMAT_R8G8B8A8_SRGB,
    };
 
-   /* GLX_SWAP_COPY_OML is not supported due to page flipping. */
+   /* __DRI_ATTRIB_SWAP_COPY is not supported due to page flipping. */
    static const GLenum back_buffer_modes[] = {
       __DRI_ATTRIB_SWAP_UNDEFINED, __DRI_ATTRIB_SWAP_NONE
    };