mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed the snow when the window size is changing
This commit is contained in:
parent
22d3ecf90a
commit
7a080b0f00
|
@ -1687,8 +1687,8 @@ void render_snow()
|
||||||
static flake flakes[NUM_FLAKES];
|
static flake flakes[NUM_FLAKES];
|
||||||
static bool init = true;
|
static bool init = true;
|
||||||
|
|
||||||
float w = br.x-tl.x;
|
float w = 400*6;
|
||||||
float h = br.y-tl.y;
|
float h = 300*6;
|
||||||
|
|
||||||
if(init)
|
if(init)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue