st/xlib: add HUD support for xlib/GLX
[mesa.git] / src / gallium / state_trackers / glx / xlib / xm_api.h
index 606bcf3dc81bf24313c32b930ab13ebe948584fd..6d37ed7cab90f74d007a73fe590ec801936861a4 100644 (file)
@@ -67,6 +67,8 @@ and create a window, you must do the following to use the X/Mesa interface:
 # include <X11/Xlibint.h>
 # include <X11/Xutil.h>
 
+struct hud_context;
+
 typedef struct xmesa_display *XMesaDisplay;
 typedef struct xmesa_buffer *XMesaBuffer;
 typedef struct xmesa_context *XMesaContext;
@@ -305,6 +307,7 @@ struct xmesa_context {
    XMesaVisual xm_visual;      /** pixel format info */
    XMesaBuffer xm_buffer;      /** current drawbuffer */
    XMesaBuffer xm_read_buffer;  /** current readbuffer */
+   struct hud_context *hud;
 };