mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fixed compilation with GCC/Clang
No more 'error: cannot jump from this goto statement to its label'
This commit is contained in:
parent
3992fd32cb
commit
e3a909c296
1 changed files with 2 additions and 1 deletions
|
@ -126,6 +126,7 @@ namespace swrenderer
|
|||
decal_pos = { dcx, dcy };
|
||||
|
||||
DVector2 angvec = (curline->v2->fPos() - curline->v1->fPos()).Unit();
|
||||
float maskedScaleY;
|
||||
|
||||
decal_left = decal_pos - edge_left * angvec - ViewPos;
|
||||
decal_right = decal_pos + edge_right * angvec - ViewPos;
|
||||
|
@ -253,7 +254,7 @@ namespace swrenderer
|
|||
sprflipvert = false;
|
||||
}
|
||||
|
||||
float maskedScaleY = float(1 / yscale);
|
||||
maskedScaleY = float(1 / yscale);
|
||||
do
|
||||
{
|
||||
int x = x1;
|
||||
|
|
Loading…
Reference in a new issue