mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- readd canvas check
This commit is contained in:
parent
7a4a7146f5
commit
48b23bdfae
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