X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fx11.h;h=e0f88e516f856a878fce79accabd3ab0f4806026;hp=cfc40a698ffed2b25ee3eddf51ffbd38387f3d73;hb=1100054eec7c45458359fd56072341bd661f4a9c;hpb=998be01ad92a672b69b11e24d472f6c0c076817f diff --git a/src/libgame/x11.h b/src/libgame/x11.h index cfc40a69..e0f88e51 100644 --- a/src/libgame/x11.h +++ b/src/libgame/x11.h @@ -39,9 +39,9 @@ /* X11 type definitions */ -typedef struct X11DrawableInfo *Bitmap; -typedef struct X11DrawableInfo *DrawWindow; -typedef struct X11DrawableInfo *DrawBuffer; +typedef struct X11DrawableInfo Bitmap; +typedef struct X11DrawableInfo DrawWindow; +typedef struct X11DrawableInfo DrawBuffer; /* "Pixel" is already defined in X11/Intrinsic.h */ typedef KeySym Key; @@ -287,6 +287,6 @@ struct XY /* X11 function definitions */ inline void X11InitVideoDisplay(void); -inline void X11InitVideoBuffer(DrawBuffer *, DrawWindow *); +inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); #endif /* X11_H */