Roland Posted January 2, 2010 Share Posted January 2, 2010 To get rid of this type of warnings cpp\renderer.cpp(457) : warning C4244: 'argument' : conversion from 'double' to 'flt', possible loss of data following lines needs to be changed in Renderer.cpp Renderer.cpp 457 ScaleEntity( skybox, Vec3(farrange/2.0f) ); Renderer.cpp 798-800 SetShaderFloat(postfilter,"saturation",(flt)saturation); SetShaderFloat(postfilter,"brightness",(flt)brightness); SetShaderFloat(postfilter,"contrast",(flt)contrast); Renderer.cpp 1085 SetColor(Vec4(1,1,1,(flt)irisadjustmentspeed*AppSpeed())); 1 Quote AV MX Linux Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.