summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-11-06 16:07:41 -0500
committerAdam Jackson <ajax@redhat.com>2017-12-13 10:07:07 -0500
commitb3fa60edc412e4c52bc6fa0346217eed0ebc98e3 (patch)
treeef0decbdcbec4ce233ee7264aad488a10f49c681 /glx
parentc010bcb8c36b2ca0bba1b80c9bde63ff89e42ed4 (diff)
glx: Fix typos that break GLX_ARB_context_flush_control
The trailing \n are just wrong here, __glXEnableExtension wants a string without them. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit fd0eafb18426da14601d5c0d0a50092c49a7aff8)
Diffstat (limited to 'glx')
-rw-r--r--glx/glxdri2.c2
-rw-r--r--glx/glxdriswrast.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 484b4aeab..8f6c3ab6a 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -901,7 +901,7 @@ initializeExtensions(__GLXscreen * screen)
#ifdef __DRI2_FLUSH_CONTROL
if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0) {
__glXEnableExtension(screen->glx_enable_bits,
- "GLX_ARB_context_flush_control\n");
+ "GLX_ARB_context_flush_control");
}
#endif
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index ed0469fd6..a9472cd4e 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -413,7 +413,7 @@ initializeExtensions(__GLXscreen * screen)
#ifdef __DRI2_FLUSH_CONTROL
if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0) {
__glXEnableExtension(screen->glx_enable_bits,
- "GLX_ARB_context_flush_control\n");
+ "GLX_ARB_context_flush_control");
}
#endif