mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
*** empty log message ***
This commit is contained in:
parent
a6505665ed
commit
4c864fe561
@ -488,6 +488,7 @@ read_hprs(DatagramIterator &di, vector_LVecBase3f &array) {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void FFTCompressor::
|
void FFTCompressor::
|
||||||
free_storage() {
|
free_storage() {
|
||||||
|
#ifdef HAVE_FFTW
|
||||||
RealPlans::iterator pi;
|
RealPlans::iterator pi;
|
||||||
for (pi = _real_compress_plans.begin();
|
for (pi = _real_compress_plans.begin();
|
||||||
pi != _real_compress_plans.end();
|
pi != _real_compress_plans.end();
|
||||||
@ -502,6 +503,7 @@ free_storage() {
|
|||||||
rfftw_destroy_plan((*pi).second);
|
rfftw_destroy_plan((*pi).second);
|
||||||
}
|
}
|
||||||
_real_decompress_plans.clear();
|
_real_decompress_plans.clear();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
@ -575,7 +577,7 @@ write_run(Datagram &datagram, FFTCompressor::RunWidth run_width,
|
|||||||
// In the case of RW_double, we only write the numbers one at a
|
// In the case of RW_double, we only write the numbers one at a
|
||||||
// time, each time preceded by the RW_double flag. Hopefully
|
// time, each time preceded by the RW_double flag. Hopefully
|
||||||
// this will happen only rarely.
|
// this will happen only rarely.
|
||||||
datagram.add_int8((int)RW_double);
|
datagram.add_int8((PN_int8)RW_double);
|
||||||
datagram.add_float64(*ri);
|
datagram.add_float64(*ri);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user