X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=jwxyz%2Fjwxyz.h;h=c70bdbe862ef0da3c5702d3109d19df686a31f81;hp=0e289c784651a209ba0df134f440aad33cd13fab;hb=refs%2Fheads%2Fmaster;hpb=78add6e627ee5f10e1fa6f3852602ea5066eee5a diff --git a/jwxyz/jwxyz.h b/jwxyz/jwxyz.h index 0e289c78..c70bdbe8 100644 --- a/jwxyz/jwxyz.h +++ b/jwxyz/jwxyz.h @@ -473,8 +473,9 @@ extern int XFreePixmap (Display *, Pixmap); extern char *XGetAtomName (Display *, Atom); extern void set_points_list(XPoint *points, int npoints, linked_point *root); -extern void traverse_points_list(linked_point * root); -extern void draw_three_vertices(linked_point * a, Bool triangle); +extern void traverse_points_list(Display *dpy, linked_point * root); +extern void draw_three_vertices(Display *dpy, linked_point * a, + Bool triangle); extern double compute_edge_length(linked_point * a, linked_point * b); extern double get_angle(double a, double b, double c); extern Bool is_same_slope(linked_point * a); @@ -537,7 +538,8 @@ extern void check_gl_error (const char *type); // Only utils/xft.c uses this, out of necessity. struct jwxyz_Visual { int class; /* class of screen (monochrome, etc.) */ - unsigned long rgba_masks[4]; /* mask values */ + unsigned long red_mask, green_mask, blue_mask; /* same as Xlib.h */ + unsigned long alpha_mask; /* new */ }; struct jwxyz_XGCValues {