Removed RAW support to compile for Emscripten, fixed bug in cache in online use
This commit is contained in:
parent
c685da008b
commit
f155905185
5 changed files with 21 additions and 14 deletions
|
|
@ -53,8 +53,9 @@ DrawingProgram::DrawingProgram(World& initWorld):
|
|||
for(auto& c : comps)
|
||||
components.clientInsertCallback(c);
|
||||
};
|
||||
components.clientServerLastPosShiftCallback = [&](uint64_t lastShiftPos) {
|
||||
compCache.invalidate_cache_before_pos(lastShiftPos);
|
||||
components.clientServerFirstPosShiftCallback = [&](uint64_t firstShiftPos) {
|
||||
compCache.clear_own_cached_surfaces();
|
||||
selection.clear_own_cached_surfaces();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue