Skip to content

Commit

Permalink
Remove assert when querying for depth texture
Browse files Browse the repository at this point in the history
  • Loading branch information
sturnclaw committed Sep 6, 2023
1 parent 46ac5c7 commit c0f10e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/graphics/opengl/RenderTargetGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ namespace Graphics {

Texture *RenderTarget::GetDepthTexture() const
{
assert(GetDesc().allowDepthTexture);
return m_depthTexture.Get();
}

Expand Down

0 comments on commit c0f10e3

Please sign in to comment.