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.38.tar.gz
[xscreensaver]
/
hacks
/
glx
/
noof.c
diff --git
a/hacks/glx/noof.c
b/hacks/glx/noof.c
index c5328436985a60f4a09d715ac4708cc77500c901..4b23035d050e908ade91a8c9b19a50b11b23ac6d 100644
(file)
--- a/
hacks/glx/noof.c
+++ b/
hacks/glx/noof.c
@@
-17,8
+17,9
@@
"*showFPS: False \n" \
"*fpsSolid: True \n" \
"*doubleBuffer: False \n" \
"*showFPS: False \n" \
"*fpsSolid: True \n" \
"*doubleBuffer: False \n" \
+ "*suppressRotationAnimation: True\n" \
-# define
refresh
_noof 0
+# define
free
_noof 0
# define release_noof 0
# define noof_handle_event 0
#include "xlockmore.h"
# define release_noof 0
# define noof_handle_event 0
#include "xlockmore.h"
@@
-27,9
+28,7
@@
#define N_SHAPES 7
#define N_SHAPES 7
-/* For some reason this hack screws up on Cocoa if we try to double-buffer it.
- It looks fine single-buffered, so let's just do that. */
-static int dbuf_p = 0;
+static int dbuf_p = 1; /* always */
ENTRYPOINT ModeSpecOpt noof_opts = {0, NULL, 0, NULL, NULL};
ENTRYPOINT ModeSpecOpt noof_opts = {0, NULL, 0, NULL, NULL};
@@
-445,14
+444,7
@@
init_noof (ModeInfo *mi)
int i;
noof_configuration *bp;
int i;
noof_configuration *bp;
- if (!bps) {
- bps = (noof_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (noof_configuration));
- if (!bps) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, bps);
bp = &bps[MI_SCREEN(mi)];
bp = &bps[MI_SCREEN(mi)];