Graphics/Light: Fix compilation
Former-commit-id: 0ae92c86e52bb18aa9587fbb82c932b71b44484c
This commit is contained in:
parent
e0b714dacc
commit
a386a8bd2d
|
|
@ -178,7 +178,7 @@ namespace Nz
|
||||||
|
|
||||||
inline void Light::SetShadowMapFormat(PixelFormatType shadowFormat)
|
inline void Light::SetShadowMapFormat(PixelFormatType shadowFormat)
|
||||||
{
|
{
|
||||||
NazaraAssert(PixelFormat::GetType(shadowFormat) == PixelFormatTypeType_Depth, "Shadow format type is not a depth format");
|
NazaraAssert(PixelFormat::GetContent(shadowFormat) == PixelFormatContent_DepthStencil, "Shadow format type is not a depth format");
|
||||||
|
|
||||||
m_shadowMapFormat = shadowFormat;
|
m_shadowMapFormat = shadowFormat;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue