summaryrefslogtreecommitdiff
path: root/xserver/glx
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/glx')
-rw-r--r--xserver/glx/Makefile.in2
-rw-r--r--xserver/glx/glxdri2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xserver/glx/Makefile.in b/xserver/glx/Makefile.in
index fc4a1fe5f..c80f645ba 100644
--- a/xserver/glx/Makefile.in
+++ b/xserver/glx/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.5 from Makefile.am.
+# Makefile.in generated by automake 1.12.6 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
diff --git a/xserver/glx/glxdri2.c b/xserver/glx/glxdri2.c
index bce1bfa4b..b26e501dc 100644
--- a/xserver/glx/glxdri2.c
+++ b/xserver/glx/glxdri2.c
@@ -514,7 +514,7 @@ create_driver_context(__GLXDRIcontext * context,
unsigned minor_ver;
uint32_t flags;
int reset;
- int api;
+ int api = __DRI_API_OPENGL;
if (num_attribs != 0) {
if (!dri2_convert_glx_attribs(screen, num_attribs, attribs,