projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.tienza.es/crux/src/www.jwz.org/xscreensaver/xscreensaver-5.05.tar.gz
[xscreensaver]
/
hacks
/
glx
/
antspotlight.c
diff --git
a/hacks/glx/antspotlight.c
b/hacks/glx/antspotlight.c
index 87e34c65751374f2988d0ca88f865708a95afc1c..c7f0c605b49c4ed0cf28caa0ad22018137e6660c 100644
(file)
--- a/
hacks/glx/antspotlight.c
+++ b/
hacks/glx/antspotlight.c
@@
-90,7
+90,9
@@
static Bool draw_ant(antspotlightstruct *mp,
float sin2 = sin(ant_step + 2 * Pi / 3);
float sin3 = sin(ant_step + 4 * Pi / 3);
float sin2 = sin(ant_step + 2 * Pi / 3);
float sin3 = sin(ant_step + 4 * Pi / 3);
- glEnable(GL_POLYGON_SMOOTH);
+/* Apparently this is a performance killer on many systems...
+ glEnable(GL_POLYGON_SMOOTH);
+ */
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);