X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fstonerview.h;h=afbd53c51e8ff1422fd6df9cfb94093d30d9d630;hb=3f1091236d800c43a3124c44c7da54e53f205b13;hp=7a428dc8f274f606f019ef7c8f4561784590154f;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/glx/stonerview.h b/hacks/glx/stonerview.h index 7a428dc8..afbd53c5 100644 --- a/hacks/glx/stonerview.h +++ b/hacks/glx/stonerview.h @@ -13,12 +13,18 @@ #ifndef __STONERVIEW_H__ # define __STONERVIEW_H__ -#ifdef HAVE_COCOA -# include -#else +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* HAVE_CONFIG_H */ + +#ifndef HAVE_COCOA # include #endif +#ifdef HAVE_JWZGLES +# include "jwzgles.h" +#endif /* HAVE_JWZGLES */ + typedef struct stonerview_state stonerview_state; #include "stonerview-osc.h" @@ -27,11 +33,12 @@ typedef struct stonerview_state stonerview_state; struct stonerview_state { int wireframe; + int transparent; /* The list of polygons. This is filled in by move_increment(), and rendered by perform_render(). */ int num_els; - elem_t *elist; + stonerview_elem_t *elist; /* A linked list of all osc_t objects created. New objects are added to the end of the list, not the beginning. */