fix error: initializer element is not a compile-time constant
This commit is contained in:
parent
afd9d492dc
commit
3725e3184a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ uint64_t splitmix64(uint64_t *state) {
|
|||
}
|
||||
|
||||
uint64_t makeseed(void) {
|
||||
static uint64_t s = (uintptr_t)&makeseed;
|
||||
static uint64_t s = 69;
|
||||
return splitmix64(&s) ^ SDL_GetPerformanceCounter();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue