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
/
cubestorm.c
diff --git
a/hacks/glx/cubestorm.c
b/hacks/glx/cubestorm.c
index 9c278b135e38c97524cce08f645eae43bebcbf3b..3137c862dcac747a1b8d2e4462233695597d77fc 100644
(file)
--- a/
hacks/glx/cubestorm.c
+++ b/
hacks/glx/cubestorm.c
@@
-226,14
+226,7
@@
init_cube (ModeInfo *mi)
int wire = MI_IS_WIREFRAME(mi);
int i;
int wire = MI_IS_WIREFRAME(mi);
int i;
- if (!bps) {
- bps = (cube_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (cube_configuration));
- if (!bps) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, bps, NULL);
# ifdef HAVE_JWZGLES
dbuf_p = True;
# ifdef HAVE_JWZGLES
dbuf_p = True;