Remove duplicate IsInitialized.
This commit is contained in:
@@ -404,9 +404,6 @@ void Mesh::Draw(const RenderContext& renderContext, MaterialBase* material, cons
|
||||
|
||||
void Mesh::Draw(const RenderContext& renderContext, const DrawInfo& info, float lodDitherFactor) const
|
||||
{
|
||||
if (!IsInitialized())
|
||||
return;
|
||||
|
||||
// Cache data
|
||||
const auto& entry = info.Buffer->At(_materialSlotIndex);
|
||||
if (!entry.Visible || !IsInitialized())
|
||||
|
||||
Reference in New Issue
Block a user