summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r--src/mbgl/gl/context.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index 0fad92f3df..062cbd7b8a 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -107,11 +107,6 @@ public:
// Only call this while the OpenGL context is exclusive to this thread.
void reset();
- // Flush pending graphics commands. Will block until the pipeline
- // is empty. Should be used only with a very good reason because
- // it will have a performance impact.
- void flush();
-
bool empty() const {
return pooledTextures.empty()
&& abandonedPrograms.empty()