| 361 | } |
| 362 | } |
| 363 | void reinitGrids(int w,int h) |
| 364 | { |
| 365 | std::lock_guard<std::mutex> guard{dataMutex}; |
| 366 | foreOffset.resize(w*h); |
| 367 | foreMult.resize(w*h); |
| 368 | backOffset.resize(w*h); |
| 369 | backMult.resize(w*h); |
| 370 | } |
| 371 | void reinitGrids() |
| 372 | { |
| 373 | reinitGrids(df::global::gps->dimy,df::global::gps->dimx); |