summaryrefslogtreecommitdiffstats
path: root/hacks/glx/tube.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:23:46 +0200
committerSimon Rettberg2021-04-06 14:23:46 +0200
commit26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch)
treea51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/glx/tube.c
parent5.44 (diff)
downloadxscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip
xscreensaver 6.00
Diffstat (limited to 'hacks/glx/tube.c')
-rw-r--r--hacks/glx/tube.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/hacks/glx/tube.c b/hacks/glx/tube.c
index a5c0c96..87f1872 100644
--- a/hacks/glx/tube.c
+++ b/hacks/glx/tube.c
@@ -10,27 +10,11 @@
* implied warranty.
*/
-#include <math.h>
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <stdlib.h>
-
-#ifdef HAVE_COCOA
-#elif defined(HAVE_ANDROID)
-# include <GLES/gl.h>
-#else
-# include <GL/gl.h>
-#endif
-
-#ifdef HAVE_JWZGLES
-# include "jwzgles.h"
-#endif /* HAVE_JWZGLES */
-
+#include "screenhackI.h"
#include "tube.h"
+#include <math.h>
+
typedef struct { GLfloat x, y, z; } XYZ;