summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/object.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-05-13 17:13:31 -0700
committerKonstantin Käfer <mail@kkaefer.com>2019-05-15 11:57:43 -0700
commit3a6ff7710fcf201f82ddc2090488ef585bd8ab17 (patch)
treede380cbb7f5553282b081dce9202cbe9e502ebe5 /src/mbgl/gl/object.cpp
parentbf0998697e0893d8a56421a139c7fc4855e89fa5 (diff)
downloadqtlocation-mapboxgl-3a6ff7710fcf201f82ddc2090488ef585bd8ab17.tar.gz
[core] add gfx::UploadPass, split startRender into prepare and upload
Diffstat (limited to 'src/mbgl/gl/object.cpp')
-rw-r--r--src/mbgl/gl/object.cpp3
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 {