- Actor.GetSpecies() is a non-destructive function

This commit is contained in:
Rachael Alexanderson 2024-10-14 17:30:59 -04:00
commit ffcce790de
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
2 changed files with 2 additions and 2 deletions

View file

@ -362,7 +362,7 @@ sector_t* RenderView(player_t* player)
// Draw all canvases that changed
for (FCanvas* canvas : AllCanvases)
{
if (canvas->Tex->CheckNeedsUpdate())
if (canvas->Tex && canvas->Tex->CheckNeedsUpdate())
{
screen->RenderTextureView(canvas->Tex, [=](IntRect& bounds)
{