mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-27 17:43:05 +01:00
fix compiling problems
This commit is contained in:
parent
89eb6bbd03
commit
8f2a0d3eb3
@ -339,7 +339,7 @@ elif not GetOption('help'):
|
||||
conf.AddTest('CheckBit', CheckBit)
|
||||
if not conf.CheckCC() or not conf.CheckCXX():
|
||||
FatalError("compiler not correctly configured")
|
||||
if isX86 and not GetOption('32bit') and not GetOption('64bit'):
|
||||
if platform == compilePlatform and isX86 and not GetOption('32bit') and not GetOption('64bit'):
|
||||
conf.CheckBit()
|
||||
findLibs(env, conf)
|
||||
env = conf.Finish()
|
||||
|
@ -144,7 +144,10 @@ void Gravity::update_grav_async()
|
||||
//memset(th_gravy, 0, XRES*YRES*sizeof(float));
|
||||
//memset(th_gravx, 0, XRES*YRES*sizeof(float));
|
||||
//memset(th_gravp, 0, XRES*YRES*sizeof(float));
|
||||
if (!grav_fft_status) grav_fft_init();
|
||||
#ifdef GRAVFFT
|
||||
if (!grav_fft_status)
|
||||
grav_fft_init();
|
||||
#endif
|
||||
while(!thread_done){
|
||||
if(!done){
|
||||
update_grav();
|
||||
|
Loading…
x
Reference in New Issue
Block a user