Graphics/Light: Fix compilation
Former-commit-id: 39de337102ae862b74d5fe8fae9fdb7e19e32e06
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user