projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.13.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glcells.c
diff --git
a/hacks/glx/glcells.c
b/hacks/glx/glcells.c
index 746f258fd71318ac2d88cafbb1c50234e3acc406..87c699745c5d333d2b4e657076a349f1ac1ce6b9 100644
(file)
--- a/
hacks/glx/glcells.c
+++ b/
hacks/glx/glcells.c
@@
-20,7
+20,7
@@
*
* 2007: Written by Matthias Toussaint
* 0.1 Initial version
*
* 2007: Written by Matthias Toussaint
* 0.1 Initial version
- * 0.2 Bugfixes (threading) and code cleanup by Jamie Za
vinsky
+ * 0.2 Bugfixes (threading) and code cleanup by Jamie Za
winski
* Window scaling bug + performance bug in tick()
*/
* Window scaling bug + performance bug in tick()
*/
@@
-48,7
+48,7
@@
#define DEF_MINFOOD "5"
#define DEF_MAXFOOD "20"
#define DEF_DIVIDEAGE "20"
#define DEF_MINFOOD "5"
#define DEF_MAXFOOD "20"
#define DEF_DIVIDEAGE "20"
-#define DEF_MINDIST "1.4
0
"
+#define DEF_MINDIST "1.4"
#define DEF_PAUSE "50"
#define DEFAULTS "*delay: 30000 \n" \
#define DEF_PAUSE "50"
#define DEFAULTS "*delay: 30000 \n" \
@@
-696,8
+696,7
@@
static int render( State *st )
fprintf( stderr, "tick %d\n", usec );
gettimeofday( &tv1, NULL );
#endif
fprintf( stderr, "tick %d\n", usec );
gettimeofday( &tv1, NULL );
#endif
- glClearColor( 0, 0, 0, 0 );
-
+
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
glDepthFunc(GL_LESS);
glEnable(GL_DEPTH_TEST);
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
glDepthFunc(GL_LESS);
glEnable(GL_DEPTH_TEST);