Remove (almost) all references to pRenderer (#651)
Remove all references to pRenderer, except from the DebugDraw and LyShine Gems that are still being updated.
This commit is contained in:
@@ -150,7 +150,7 @@ void QTopRendererWnd::UpdateContent(int flags)
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void QTopRendererWnd::Draw(DisplayContext& dc)
|
||||
void QTopRendererWnd::Draw([[maybe_unused]] DisplayContext& dc)
|
||||
{
|
||||
FUNCTION_PROFILER(GetIEditor()->GetSystem(), PROFILE_EDITOR);
|
||||
|
||||
@@ -165,7 +165,8 @@ void QTopRendererWnd::Draw(DisplayContext& dc)
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Render the 2D map
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
if (!m_terrainTextureId)
|
||||
// ToDo: Remove TopRendererWnd or update to work with Atom: LYN-3671
|
||||
/*if (!m_terrainTextureId)
|
||||
{
|
||||
//GL_BGRA_EXT
|
||||
if (m_terrainTexture.IsValid())
|
||||
@@ -238,7 +239,7 @@ void QTopRendererWnd::Draw(DisplayContext& dc)
|
||||
|
||||
dc.DepthTestOn();
|
||||
|
||||
Q2DViewport::Draw(dc);
|
||||
Q2DViewport::Draw(dc);*/
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user