Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / glx / drisw_priv.h
index 5d4790031146e52cc2e62cbfba9de7f349e23bcb..663decee4c37942edfc415dab24a818b04e9985e 100644 (file)
  * SOFTWARE.
  */
 
+#ifndef DRISW_PRIV_H
+#define DRISW_PRIV_H
+
+#include <X11/extensions/XShm.h>
+
 struct drisw_display
 {
    __GLXDRIdisplay base;
@@ -57,11 +62,11 @@ struct drisw_drawable
    __GLXDRIdrawable base;
 
    GC gc;
-   GC swapgc;
-
    __DRIdrawable *driDrawable;
-   XVisualInfo *visinfo;
+   struct glx_config *config;
    XImage *ximage;
+   XShmSegmentInfo shminfo;
+   int xDepth;
 };
 
 _X_HIDDEN int
@@ -70,3 +75,5 @@ drisw_query_renderer_integer(struct glx_screen *base, int attribute,
 _X_HIDDEN int
 drisw_query_renderer_string(struct glx_screen *base, int attribute,
                             const char **value);
+
+#endif