summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/command_encoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/command_encoder.cpp')
-rw-r--r--src/mbgl/gl/command_encoder.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mbgl/gl/command_encoder.cpp b/src/mbgl/gl/command_encoder.cpp
new file mode 100644
index 0000000000..82046202bc
--- /dev/null
+++ b/src/mbgl/gl/command_encoder.cpp
@@ -0,0 +1,12 @@
+#include <mbgl/gl/command_encoder.hpp>
+#include <mbgl/gl/context.hpp>
+
+namespace mbgl {
+namespace gl {
+
+CommandEncoder::~CommandEncoder() {
+ context.performCleanup();
+}
+
+} // namespace gl
+} // namespace mbgl