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:
parent
35aa87674d
commit
a145ec9c0f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user