summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-09-05 17:35:15 +0100
committerEmil Velikov <[email protected]>2018-10-03 13:38:06 +0100
commit01b92916afc239383eb2ebb469fe61d6d106a3a7 (patch)
tree47356aa88bf6314a1c53dfd1831d5fb510ecac4e /src/mesa/drivers
parente04b2c037644b2da9728b5efcdb4386ac0c3356e (diff)
i965: reference __DRI_ATTRIB_SWAP_COPY token over the GLX one
Earlier commit updated the code to use the DRI tokens, yet forgot to update the comment. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index c57fb540488..c3bd30f7837 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -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
};