Fixed compiler warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-11-01 22:17:00 +00:00
parent 35aa87674d
commit a145ec9c0f

View File

@ -50,11 +50,11 @@ public:
virtual void OnSetConstants(irr::video::IMaterialRendererServices *services, s32 userData)
{
// Irrlicht knows this is actually a GLint and makes the conversion
int decaltex = 0.0f;
int decaltex = 0;
services->setPixelShaderConstant("DecalTex", (float*)&decaltex, 1);
// Irrlicht knows this is actually a GLint and makes the conversion
int bumptex = 1.0f;
int bumptex = 1;
services->setPixelShaderConstant("BumpTex", (float*)&bumptex, 1);
// TODO: check the position of the sun