| 105 | r->dataMutex.lock(); |
| 106 | } |
| 107 | static void unlockGrids() |
| 108 | { |
| 109 | if(current_mode!=MODE_LUA) |
| 110 | return ; |
| 111 | renderer_lua* r=reinterpret_cast<renderer_lua*>(enabler->renderer); |
| 112 | r->dataMutex.unlock(); |
| 113 | } |
| 114 | static void resetGrids() |
| 115 | { |
| 116 | if(current_mode!=MODE_LUA) |