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.27.tar.gz
[xscreensaver]
/
hacks
/
glx
/
mirrorblob.c
diff --git
a/hacks/glx/mirrorblob.c
b/hacks/glx/mirrorblob.c
index d8b0915de1e563fcf08e992144825b7b1c748433..67ee46d241d36cc1aaabce4e92937dd3884b7c48 100644
(file)
--- a/
hacks/glx/mirrorblob.c
+++ b/
hacks/glx/mirrorblob.c
@@
-605,6
+605,10
@@
grab_texture(ModeInfo *mi, int texture_index)
static void
set_parameters(void)
{
static void
set_parameters(void)
{
+# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */
+ wireframe = 0;
+# endif
+
/* In wire frame mode do not draw a texture */
if (wireframe)
{
/* In wire frame mode do not draw a texture */
if (wireframe)
{
@@
-1119,11
+1123,13
@@
initialise_blob(mirrorblobstruct *gp,
*
* Return the magnitude of the given vector
*/
*
* Return the magnitude of the given vector
*/
+#if 0
static inline double
length (Vector3D u)
{
return sqrt (u.x * u.x + u.y * u.y + u.z * u.z);
}
static inline double
length (Vector3D u)
{
return sqrt (u.x * u.x + u.y * u.y + u.z * u.z);
}
+#endif
/******************************************************************************
*
/******************************************************************************
*