Fixes for overriden draw calls material in debug views

This commit is contained in:
Wojtek Figat
2022-11-10 00:22:23 +01:00
parent e53623e854
commit ea5e38fdd1
6 changed files with 58 additions and 43 deletions

View File

@@ -129,6 +129,9 @@ public:
/// <returns>True if can use instancing, otherwise false.</returns>
virtual bool CanUseInstancing(InstancingHandler& handler) const
{
#if BUILD_DEBUG
handler = { nullptr, nullptr, nullptr };
#endif
return false;
}