summaryrefslogtreecommitdiff
path: root/xserver/glx/glxdriswrast.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-02-18 17:16:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2018-02-18 17:16:39 +0000
commit59f36f1072242e554a7d6d64138db12b321a86bf (patch)
tree2a157e8f9e17d04bc4e0efde0ca7e9db5346cc37 /xserver/glx/glxdriswrast.c
parent1d0ff518f50b7e33f90ad75637db6090055f2d96 (diff)
Update to xserver 1.19.6. bug fix release
Diffstat (limited to 'xserver/glx/glxdriswrast.c')
-rw-r--r--xserver/glx/glxdriswrast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xserver/glx/glxdriswrast.c b/xserver/glx/glxdriswrast.c
index ed0469fd6..e310fda75 100644
--- a/xserver/glx/glxdriswrast.c
+++ b/xserver/glx/glxdriswrast.c
@@ -244,6 +244,7 @@ __glXDRIscreenCreateContext(__GLXscreen * baseScreen,
if (context == NULL)
return NULL;
+ context->base.config = glxConfig;
context->base.destroy = __glXDRIcontextDestroy;
context->base.makeCurrent = __glXDRIcontextMakeCurrent;
context->base.loseCurrent = __glXDRIcontextLoseCurrent;
@@ -413,7 +414,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