# | Line 59 | Line 59 | newsource() /* allocate new source in our array */ | |
---|---|---|
59 | if (source == NULL) | |
60 | return(-1); | |
61 | source[nsources].sflags = 0; | |
62 | < | source[nsources].nhits = 0; |
63 | < | source[nsources].ntests = 1; /* initial hit probability = 0 */ |
62 | > | source[nsources].nhits = 1; |
63 | > | source[nsources].ntests = 2; /* initial hit probability = 50% */ |
64 | #if SHADCACHE | |
65 | source[nsources].obscache = NULL; | |
66 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |