mirror of https://github.com/axmolengine/axmol.git
ligthmask to unsigned int
This commit is contained in:
parent
98d9cea774
commit
11a7bf8697
|
@ -530,11 +530,6 @@ void MeshCommand::setLightUniformNames()
|
|||
}
|
||||
}
|
||||
|
||||
void MeshCommand::setLightMask( unsigned short lightmask )
|
||||
{
|
||||
_lightMask = lightmask;
|
||||
}
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
|
||||
void MeshCommand::listenRendererRecreated(EventCustom* event)
|
||||
{
|
||||
|
|
|
@ -62,7 +62,7 @@ public:
|
|||
|
||||
void setMatrixPaletteSize(int size) { _matrixPaletteSize = size; }
|
||||
|
||||
void setLightMask(unsigned short lightmask);
|
||||
void setLightMask(unsigned int lightmask) { _lightMask = lightmask; }
|
||||
|
||||
void execute();
|
||||
|
||||
|
@ -127,7 +127,7 @@ protected:
|
|||
// ModelView transform
|
||||
Mat4 _mv;
|
||||
|
||||
unsigned short _lightMask;
|
||||
unsigned int _lightMask;
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
|
||||
EventListenerCustom* _rendererRecreatedListener;
|
||||
|
|
Loading…
Reference in New Issue