typedef struct TextureRGBA {
guint width;
guint height;
- unsigned long *data;
+ pixel32 *data;
/* cached scaled so we don't have to scale often */
guint cwidth;
guint cheight;
- unsigned long *cache;
+ pixel32 *cache;
} TextureRGBA;
typedef union {
void appearance_minsize(Appearance *l, int *w, int *h);
-void render_pixmap_to_rgba(Pixmap pmap, Pixmap mask,
- int *w, int *h, gulong **data);
+gboolean render_pixmap_to_rgba(Pixmap pmap, Pixmap mask,
+ int *w, int *h, pixel32 **data);
#endif /*__render_h*/