MCPcopy Create free account
hub / github.com/DFHack/dfhack / reinitGrids

Method reinitGrids

plugins/rendermax/renderer_opengl.hpp:363–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected