| 1233 | (*running_encoders)--; |
| 1234 | } |
| 1235 | void LBM::Graphics::write_frame(const string& path, const string& name, const string& extension, bool print_preview) { // save current frame as .png file (smallest file size, but slow) |
| 1236 | write_frame(0u, 0u, camera.width, camera.height, path, name, extension, print_preview); |
| 1237 | } |
| 1238 | void LBM::Graphics::write_frame(const uint x1, const uint y1, const uint x2, const uint y2, const string& path, const string& name, const string& extension, bool print_preview) { // save a cropped current frame with two corner points (x1,y1) and (x2,y2) |
| 1239 | camera.rendring_frame.lock(); // block rendering for other threads until finished |
| 1240 | camera.key_update = true; // force rendering new frame |
nothing calls this directly
no test coverage detected