[core] add gfx::CommandEncoder::present()

This commit is contained in:
Konstantin Käfer
2019-04-02 14:11:37 +02:00
parent da5bd4d6e3
commit 179c5fe83b
8 changed files with 39 additions and 14 deletions

View File

@@ -2,6 +2,8 @@
#include <mbgl/gfx/renderable.hpp>
#include <cstdlib>
namespace mbgl {
namespace gl {
@@ -11,6 +13,11 @@ protected:
public:
virtual void bind() = 0;
virtual void swap() {
// Renderable resources that require a swap function to be called explicitly
// can override this method.
}
};
} // namespace gl