mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed crash on texture init.
This commit is contained in:
parent
348f9ae68c
commit
df3dc91514
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ public:
|
|||
TexelWidth = x;
|
||||
TexelHeight = y;
|
||||
SetDisplaySize(float(x), float(y));
|
||||
GetTexture()->SetSize(x, y);
|
||||
if (GetTexture()) GetTexture()->SetSize(x, y);
|
||||
}
|
||||
void SetDisplaySize(float w, float h)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue