Crash fixes in LyShine with pRenderer being nullptr now (#496)
This commit is contained in:
@@ -97,7 +97,8 @@ namespace LyShineExamples
|
||||
if (!texture)
|
||||
{
|
||||
// if there is no texture we will just use a white texture
|
||||
texture = gEnv->pRenderer->EF_GetTextureByID(gEnv->pRenderer->GetWhiteTextureId());
|
||||
// TODO: Get a default atom texture here when possible
|
||||
//texture = gEnv->pRenderer->EF_GetTextureByID(gEnv->pRenderer->GetWhiteTextureId());
|
||||
}
|
||||
|
||||
if (m_isRenderCacheDirty)
|
||||
|
||||
Reference in New Issue
Block a user