1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fail when submit or sync called on main rendering device

Fail if submit or sync called multiple times in a row
This commit is contained in:
clayjohn
2024-08-09 23:53:40 -07:00
parent 3978628c6c
commit b0e33aa00f
2 changed files with 12 additions and 3 deletions

View File

@@ -88,6 +88,9 @@ private:
RenderingDeviceDriver *driver = nullptr;
RenderingContextDriver::Device device;
bool local_device_processing = false;
bool is_main_instance = false;
protected:
static void _bind_methods();