summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/glcontextmodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/common/glcontextmodes.h')
-rw-r--r--src/mesa/drivers/dri/common/glcontextmodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/glcontextmodes.h b/src/mesa/drivers/dri/common/glcontextmodes.h
index ce74287b3d8..fdf1e767824 100644
--- a/src/mesa/drivers/dri/common/glcontextmodes.h
+++ b/src/mesa/drivers/dri/common/glcontextmodes.h
@@ -32,7 +32,7 @@
#include "GL/internal/glcore.h"
-#if !defined(IN_DRI_DRIVER)
+#if !defined(IN_DRI_DRIVER) && !defined(IN_MINI_GLX)
extern GLint _gl_convert_from_x_visual_type( int visualType );
extern GLint _gl_convert_to_x_visual_type( int visualType );
extern void _gl_copy_visual_to_context_mode( __GLcontextModes * mode,