summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.cpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-01 21:32:26 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-13 13:37:41 +0300
commita05f060153497e1be6515120b65f580f4551f9e0 (patch)
treeb736fe12eebe4bfdac0154c4e45d4dbf26207b57 /src/mbgl/util/offscreen_texture.cpp
parent28eb2e635417c7fb8d746a9ed1d76774066098b3 (diff)
downloadqtlocation-mapboxgl-a05f060153497e1be6515120b65f580f4551f9e0.tar.gz
[core] Added Backend::{assume,set}ScissorTest
Diffstat (limited to 'src/mbgl/util/offscreen_texture.cpp')
-rw-r--r--src/mbgl/util/offscreen_texture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/util/offscreen_texture.cpp b/src/mbgl/util/offscreen_texture.cpp
index fe24774b7c..77a1416e48 100644
--- a/src/mbgl/util/offscreen_texture.cpp
+++ b/src/mbgl/util/offscreen_texture.cpp
@@ -33,6 +33,7 @@ public:
}
context.activeTexture = 0;
+ context.scissorTest = false;
context.viewport = { 0, 0, size };
}