Add -Wdouble-promotion switch to clang/gcc compilers
It introduces a lot of ugly casts. Long term the floats should probably be changed to doubles everywhere since we're only compiling for 64 bit x86.
This commit is contained in:
@@ -56,7 +56,7 @@ void SteamVRTabController::eventLoopTick()
|
||||
<< "\" setting: "
|
||||
<< vr::VRSettings()->GetSettingsErrorNameFromEnum(
|
||||
vrSettingsError );
|
||||
if ( m_superSampling != 1.0 )
|
||||
if ( m_superSampling != 1.0f )
|
||||
{
|
||||
LOG( DEBUG )
|
||||
<< "OpenVR returns an error and we have a custom "
|
||||
|
||||
Reference in New Issue
Block a user