Limit FPS in JS by skipping iterations.

This commit is contained in:
Fabio Alessandrelli 2020-06-29 21:00:20 +02:00
parent c7d2767ab9
commit 399e2c1db0
2 changed files with 13 additions and 4 deletions

View file

@ -163,6 +163,7 @@ public:
String get_executable_path() const;
virtual Error shell_open(String p_uri);
virtual String get_name() const;
virtual void add_frame_delay(bool p_can_draw) {}
virtual bool can_draw() const;
virtual String get_cache_path() const;