mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 11:30:08 +01:00
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 fd0eafb184)
This commit is contained in:
parent
c010bcb8c3
commit
b3fa60edc4
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue