st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.
[mesa.git] / src / gallium / state_trackers / glx / xlib / xm_api.h
index b8ac979edc1d8a7c7823724c71f9f3ac7c11d037..4ea42dc37559c74e6c4d6553dbc558578e75fac2 100644 (file)
@@ -57,7 +57,7 @@ and create a window, you must do the following to use the X/Mesa interface:
 #define XMESA_H
 
 
-#include "main/core.h" /* for GLvisual and MESA_VERSION_STRING */
+#include "main/core.h" /* for gl_config */
 #include "state_tracker/st_api.h"
 #include "os/os_thread.h"
 
@@ -351,6 +351,9 @@ struct xmesa_buffer {
 
 
 
+extern const char *
+xmesa_get_name(void);
+
 extern void
 xmesa_init(Display *dpy);