medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit a4a11773d38b40ae4904c483e2f4d6f259c5623b
parent e9ae65328a2b9115f340bf5dfc77e1fa44924292
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Oct 17 20:17:57 +0300

DAZ/FTZ does work on Windows

Diffstat:
main.cc | 2--
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/main.cc b/main.cc @@ -109,7 +109,6 @@ int main( int argc, char ** argv ) { float last_frame_time = program_start_time; u64 total_frames = 0; - // TODO: this won't work on windows _MM_SET_DENORMALS_ZERO_MODE( _MM_DENORMALS_ZERO_ON ); _MM_SET_FLUSH_ZERO_MODE( _MM_FLUSH_ZERO_ON ); @@ -156,7 +155,6 @@ int main( int argc, char ** argv ) { last_frame_time = current_frame_time; total_frames++; - // TODO: this won't work on windows unsigned int csr = _mm_getcsr(); if( ( csr & _MM_FLUSH_ZERO_ON ) == 0 || ( csr & _MM_DENORMALS_ZERO_ON ) == 0 ) { printf( "daz/ftz got switched off\n" );