diff --git a/hw/dmx/glxProxy/glxdrawable.h b/hw/dmx/glxProxy/glxdrawable.h index 59fffa747..baed68315 100644 --- a/hw/dmx/glxProxy/glxdrawable.h +++ b/hw/dmx/glxProxy/glxdrawable.h @@ -49,58 +49,6 @@ typedef struct { } __GLXpixmap; -struct __GLXdrawablePrivateRec { - /* - ** list of drawable private structs - */ - struct __GLXdrawablePrivateRec *last; - struct __GLXdrawablePrivateRec *next; - - DrawablePtr pDraw; - XID drawId; - __GLXpixmap *pGlxPixmap; - - /* - ** Either DRAWABLE_PIXMAP or DRAWABLE_WINDOW, copied from pDraw above. - ** Needed by the resource freer because pDraw might already have been - ** freed. - */ - int type; - - /* - ** Configuration of the visual to which this drawable was created. - */ - __GLXvisualConfig *pGlxVisual; - - /* - ** cached drawable size and origin - */ - GLint xorigin, yorigin; - GLint width, height; - - /* - ** list of contexts bound to this drawable - */ - struct __GLXcontextRec *glxc; - - /* - ** "methods" that the drawble should be able to respond to. - */ - void (*freeBuffers)(struct __GLXdrawablePrivateRec *); - void (*updatePalette)(struct __GLXdrawablePrivateRec *); - GLboolean (*swapBuffers)(struct __GLXdrawablePrivateRec *); - - /* - ** The GL drawable (information shared between GLX and the GL core) - */ - __GLdrawablePrivate glPriv; - - /* - ** reference count - */ - int refCount; -}; - typedef struct { DrawablePtr pDraw; int type; diff --git a/hw/dmx/glxProxy/glxserver.h b/hw/dmx/glxProxy/glxserver.h index db5be4365..021d4c1de 100644 --- a/hw/dmx/glxProxy/glxserver.h +++ b/hw/dmx/glxProxy/glxserver.h @@ -58,9 +58,6 @@ #include #include -/* For glxscreens.h */ -typedef struct __GLXdrawablePrivateRec __GLXdrawablePrivate; - #include "glxscreens.h" #include "glxdrawable.h" #include "glxcontext.h"