mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
Fix null pointer crash
This commit is contained in:
parent
bbdd146243
commit
a7a899ca14
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ namespace swrenderer
|
|||
int texwidth = tex->GetPhysicalWidth();
|
||||
int texheight = tex->GetPhysicalHeight();
|
||||
|
||||
dc_viewport = thread->Viewport.get();
|
||||
dc_textureheight = texheight;
|
||||
|
||||
vstepY *= texheight;
|
||||
|
||||
for (int x = sx0; x < sx1; x++)
|
||||
|
|
Loading…
Reference in a new issue