summaryrefslogtreecommitdiffstats
path: root/hacks/glx/chessmodels.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/chessmodels.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-28r1.tar.gz
xscreensaver-28r1.tar.xz
xscreensaver-28r1.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/glx/chessmodels.c')
-rw-r--r--hacks/glx/chessmodels.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/hacks/glx/chessmodels.c b/hacks/glx/chessmodels.c
index 7dd7eca..ab0bd09 100644
--- a/hacks/glx/chessmodels.c
+++ b/hacks/glx/chessmodels.c
@@ -26,30 +26,12 @@
/* chessmodels.c: Contains the code for piece model creation */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif /* HAVE_CONFIG_H */
+#include "screenhackI.h"
+#include "chessmodels.h"
#include <math.h>
#include <stdlib.h>
-#ifndef HAVE_JWXYZ
-# include <GL/glx.h>
-# include <GL/gl.h>
-#endif
-
-#ifdef HAVE_ANDROID
-#include <GLES/gl.h>
-#define Bool int
-#endif
-
-#ifdef HAVE_JWZGLES
-# include "jwzgles.h"
-#endif /* HAVE_JWZGLES */
-
-#include "chessmodels.h"
-
-/* End of Data */
#define ENDOFDATA 65535
/* Section headers */