Graphics/Light: Fix compilation
Former-commit-id: 39de337102ae862b74d5fe8fae9fdb7e19e32e06
This commit is contained in:
parent
dff823fe1d
commit
9036eb4804
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue