Graphics/Light: Fix compilation

Former-commit-id: 0ae92c86e52bb18aa9587fbb82c932b71b44484c
This commit is contained in:
Lynix 2016-05-17 20:14:06 +02:00
parent e0b714dacc
commit a386a8bd2d
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ namespace Nz
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;