[core] add state tracking to pixel transfer

This commit is contained in:
Konstantin Käfer
2016-11-04 17:12:47 +01:00
parent 008a83b915
commit eed16cb1bb
5 changed files with 65 additions and 3 deletions

View File

@@ -285,6 +285,8 @@ void Context::setDirtyState() {
rasterPos.setDirty();
pixelStorePack.setDirty();
pixelStoreUnpack.setDirty();
pixelTransferDepth.setDirty();
pixelTransferStencil.setDirty();
#endif // MBGL_USE_GLES2
for (auto& tex : texture) {
tex.setDirty();