diff options
Diffstat (limited to 'src/mbgl/gl/object.cpp')
-rw-r--r-- | src/mbgl/gl/object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/gl/object.cpp b/src/mbgl/gl/object.cpp index 2c5f1bca1f..ec2998a27d 100644 --- a/src/mbgl/gl/object.cpp +++ b/src/mbgl/gl/object.cpp @@ -18,8 +18,7 @@ void ShaderDeleter::operator()(ShaderID id) const { } void BufferDeleter::operator()(BufferID id) const { - assert(context); - context->abandonedBuffers.push_back(id); + context.abandonedBuffers.push_back(id); } void TextureDeleter::operator()(TextureID id) const { |