summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-12-07 17:07:39 +0000
committerEmil Velikov <[email protected]>2018-01-25 17:42:57 +0000
commit7b744a494d1a7423c9472afb5813f17706a31d70 (patch)
treec2aad9a7a97fab6d0d873c37c33a9cdc9eaf1543
parent3e3956d6ae7f2b49bf9cc08b2882bb18540a6030 (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c3
1 files changed, 0 insertions, 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
};