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
/
bouncingcow.c
diff --git
a/hacks/glx/bouncingcow.c
b/hacks/glx/bouncingcow.c
index 122befa65a41024559dd2d24a1f878c2271ca52c..0773414dd79e737734a4bf1780bb903693d72a50 100644
(file)
--- a/
hacks/glx/bouncingcow.c
+++ b/
hacks/glx/bouncingcow.c
@@
-239,14
+239,7
@@
init_cow (ModeInfo *mi)
int i;
Bool tex_p = False;
int i;
Bool tex_p = False;
- if (!bps) {
- bps = (cow_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (cow_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)];