diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/sphere.c | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-openslx.tar.gz xscreensaver-openslx.tar.xz xscreensaver-openslx.zip |
Diffstat (limited to 'hacks/glx/sphere.c')
-rw-r--r-- | hacks/glx/sphere.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/hacks/glx/sphere.c b/hacks/glx/sphere.c index dee4541..0e485f2 100644 --- a/hacks/glx/sphere.c +++ b/hacks/glx/sphere.c @@ -17,26 +17,12 @@ * 21-Aug-10 jwz@jwz.org Converted to use glDrawArrays, for OpenGL ES. */ +#include "screenhackI.h" +#include "sphere.h" + #include <math.h> #include <stdlib.h> -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#ifdef HAVE_COCOA -#elif defined(HAVE_ANDROID) -# include <GLES/gl.h> -#else /* real X11 */ -# include <GL/gl.h> -#endif - -#ifdef HAVE_JWZGLES -# include "jwzgles.h" -#endif /* HAVE_JWZGLES */ - -#include "sphere.h" - typedef struct { GLfloat x, y, z; } XYZ; static int |