mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
- readd canvas check
This commit is contained in:
parent
c2fd99a24d
commit
3bf3af9441
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue