Add ability to opt-out buffer swapping in VS::draw()

This commit is contained in:
Pedro J. Estébanez
2017-10-30 21:33:36 +01:00
parent ff03a0bc7b
commit 3aa79fc1a3
9 changed files with 16 additions and 13 deletions

View File

@ -909,7 +909,7 @@ public:
/* EVENT QUEUING */
virtual void draw() = 0;
virtual void draw(bool p_swap_buffers = true) = 0;
virtual void sync() = 0;
virtual bool has_changed() const = 0;
virtual void init() = 0;