- x = view_bounds.x * target.w;
- y = view_bounds.y * target.h;
- w = view_bounds.w * target.w;
- h = view_bounds.h * target.h;
+ x = view_bounds.x * Real(target.w);
+ y = view_bounds.y * Real(target.h);
+ w = view_bounds.w * Real(target.w);
+ h = view_bounds.h * Real(target.h);
+ Debug("CPURenderBounds %s -> %s -> {%li,%li,%li,%li}", bounds.Str().c_str(), view_bounds.Str().c_str(), x, y, w, h);