Graphics/Light: Fix compilation

Former-commit-id: 39de337102ae862b74d5fe8fae9fdb7e19e32e06
This commit is contained in:
Lynix 2016-05-17 20:14:06 +02:00
parent dff823fe1d
commit 9036eb4804
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;