projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver]
/
hacks
/
glx
/
dropshadow.h
diff --git
a/hacks/glx/dropshadow.h
b/hacks/glx/dropshadow.h
index 6328d16204fdc1e9ababc0882b01279e5d90914c..212a0c6567ef4bb1b32c0ce9a550dab5bceab2b4 100644
(file)
--- a/
hacks/glx/dropshadow.h
+++ b/
hacks/glx/dropshadow.h
@@
-12,12
+12,23
@@
#ifndef __DROPSHADOW_H__
#define __DROPSHADOW_H__
#ifndef __DROPSHADOW_H__
#define __DROPSHADOW_H__
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#ifdef HAVE_COCOA
#ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-#else /* !HAVE_COCOA -- real Xlib */
+# ifndef HAVE_JWZGLES
+# include <OpenGL/glu.h>
+# endif
+#else /* !HAVE_COCOA */
# include <GL/gl.h>
# include <GL/gl.h>
+# include <GL/glu.h>
#endif /* !HAVE_COCOA */
#endif /* !HAVE_COCOA */
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
/* Initialize drop shadow texture, return a texture ID.
*/
GLuint
/* Initialize drop shadow texture, return a texture ID.
*/
GLuint