diff options
author | Adam Jackson <ajax@redhat.com> | 2017-11-06 16:07:41 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-11-07 09:11:36 -0500 |
commit | fd0eafb18426da14601d5c0d0a50092c49a7aff8 (patch) | |
tree | 6adf40543c18f72351a217b11d312dbadc0c7637 | |
parent | 2e7f790b5770589ae2f97ee363ecd33fdb362c24 (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>
-rw-r--r-- | glx/glxdri2.c | 2 | ||||
-rw-r--r-- | glx/glxdriswrast.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 8516368ac..8f5aab0c2 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -896,7 +896,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 97068546e..5b1f3d1fc 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -383,7 +383,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 |