mirror of
https://github.com/Relintai/terraman_2d.git
synced 2024-11-12 10:15:18 +01:00
Fix the merger surface's texture rect calculation.
This commit is contained in:
parent
26e6a17e24
commit
0298d0216f
@ -59,8 +59,8 @@ void Terrain2DSurfaceMerger::refresh_rects() {
|
||||
}
|
||||
|
||||
Rect2 region = at->get_region();
|
||||
float w = at->get_width();
|
||||
float h = at->get_height();
|
||||
float w = tex->get_width();
|
||||
float h = tex->get_height();
|
||||
|
||||
Rect2 r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user