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:
@@ -1233,7 +1233,8 @@ void AZ::FFont::WrapText(string& result, float maxWidth, const char* str, const
|
||||
|
||||
if (ctx.m_sizeIn800x600)
|
||||
{
|
||||
maxWidth = gEnv->pRenderer->ScaleCoordX(maxWidth);
|
||||
// ToDo: Update to work with Atom? LYN-3676
|
||||
// maxWidth = ???->ScaleCoordX(maxWidth);
|
||||
}
|
||||
|
||||
Vec2 strSize = GetTextSize(result.c_str(), true, ctx);
|
||||
|
||||
Reference in New Issue
Block a user