summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/command_encoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gfx/command_encoder.hpp')
-rw-r--r--src/mbgl/gfx/command_encoder.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gfx/command_encoder.hpp b/src/mbgl/gfx/command_encoder.hpp
index 145c2bef82..46ae551982 100644
--- a/src/mbgl/gfx/command_encoder.hpp
+++ b/src/mbgl/gfx/command_encoder.hpp
@@ -9,6 +9,7 @@ namespace gfx {
class RenderPassDescriptor;
class RenderPass;
+class Renderable;
class CommandEncoder {
protected:
@@ -28,6 +29,7 @@ public:
}
virtual std::unique_ptr<RenderPass> createRenderPass(const char* name, const RenderPassDescriptor&) = 0;
+ virtual void present(Renderable&) = 0;
};
} // namespace gfx