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
/
quasicrystal.c
diff --git
a/hacks/glx/quasicrystal.c
b/hacks/glx/quasicrystal.c
index 708794a6f7108be09ad54627ee85bcfc72f3fe7e..2e761e358e2cc4f4663c9fd7c5b6c0da685bbed6 100644
(file)
--- a/
hacks/glx/quasicrystal.c
+++ b/
hacks/glx/quasicrystal.c
@@
-192,14
+192,7
@@
init_quasicrystal (ModeInfo *mi)
int tex_width;
int i;
int tex_width;
int i;
- if (!bps) {
- bps = (quasicrystal_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (quasicrystal_configuration));
- if (!bps) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, bps, NULL);
bp = &bps[MI_SCREEN(mi)];
bp = &bps[MI_SCREEN(mi)];