mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-06-01 17:32:57 +00:00
Removed workaround for MSVC 2017 compiler bug
Apparently Microsoft fixed it in the recent update
This commit is contained in:
parent
5c8a82d6b2
commit
9da92facda
1 changed files with 0 additions and 8 deletions
|
@ -23,10 +23,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||||
#undef PI
|
#undef PI
|
||||||
#define PI 3.1415926535897932384626433832795029
|
#define PI 3.1415926535897932384626433832795029
|
||||||
|
|
||||||
#if _MSC_VER >= 1911
|
|
||||||
#pragma float_control(precise, on, push)
|
|
||||||
#endif // _MSC_VER >= 1911
|
|
||||||
|
|
||||||
static void gen_sinc( double rolloff, int width, double offset, double spacing, double scale,
|
static void gen_sinc( double rolloff, int width, double offset, double spacing, double scale,
|
||||||
int count, short* out )
|
int count, short* out )
|
||||||
{
|
{
|
||||||
|
@ -56,10 +52,6 @@ static void gen_sinc( double rolloff, int width, double offset, double spacing,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if _MSC_VER >= 1911
|
|
||||||
#pragma float_control(pop)
|
|
||||||
#endif // _MSC_VER >= 1911
|
|
||||||
|
|
||||||
Fir_Resampler_::Fir_Resampler_( int width, sample_t* impulses_ ) :
|
Fir_Resampler_::Fir_Resampler_( int width, sample_t* impulses_ ) :
|
||||||
width_( width ),
|
width_( width ),
|
||||||
write_offset( width * stereo - stereo ),
|
write_offset( width * stereo - stereo ),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue