diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-11-17 23:43:01 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-11-18 11:56:01 +0800 |
commit | 997a2547d10890dbc00f2c48191cde58a2ee37c8 (patch) | |
tree | 4f093ec4347f620564b527a954832d10a4f748e7 /src/gallium/state_trackers/glx/xlib/xm_api.h | |
parent | db1689c23629d2cf66a7a35ed0e899006ef2af52 (diff) |
st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.
xmesa_get_name returns the name of the st_api, which is the same as
MESA_VERSION_STRING.
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib/xm_api.h')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.h b/src/gallium/state_trackers/glx/xlib/xm_api.h index b8ac979edc..4ea42dc375 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.h +++ b/src/gallium/state_trackers/glx/xlib/xm_api.h @@ -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); |