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.37.tar.gz
[xscreensaver]
/
hacks
/
glx
/
tangram.c
diff --git
a/hacks/glx/tangram.c
b/hacks/glx/tangram.c
index c084af588b586fcab6af76f1972cbd11db9ee14d..82a1f4102e18ba143ad50942d39cff97bdde7000 100644
(file)
--- a/
hacks/glx/tangram.c
+++ b/
hacks/glx/tangram.c
@@
-877,14
+877,7
@@
ENTRYPOINT void init_tangram(ModeInfo * mi)
{
tangram_configuration *tp;
{
tangram_configuration *tp;
- if (!tps) {
- tps = (tangram_configuration *)
- calloc(MI_NUM_SCREENS(mi), sizeof(tangram_configuration));
- if (!tps) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, tps, NULL);
tp = &tps[MI_SCREEN(mi)];
tp = &tps[MI_SCREEN(mi)];