summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-03-21 15:01:32 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commit14bf47c296f7ef80c91366a30b8ec593898e1e9d (patch)
tree121502bac9556061cf0230af307022905c28f1e8 /test
parent68e032e505e23811aec1f6079995709b3d2b9700 (diff)
downloadqtlocation-mapboxgl-14bf47c296f7ef80c91366a30b8ec593898e1e9d.tar.gz
[glfw] Remove GL state restoration
We're doing all of this in our own context anyway, so no need to restore the state
Diffstat (limited to 'test')
-rw-r--r--test/gl/object.test.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/gl/object.test.cpp b/test/gl/object.test.cpp
index 5d2bf6735e..b5a055f4ca 100644
--- a/test/gl/object.test.cpp
+++ b/test/gl/object.test.cpp
@@ -26,20 +26,6 @@ struct MockGLObject {
const bool MockGLObject::Default = false;
-TEST(GLObject, PreserveState) {
- getFlag = false;
- setFlag = false;
-
- auto object = std::make_unique<gl::PreserveState<MockGLObject>>();
- EXPECT_TRUE(getFlag);
- EXPECT_FALSE(setFlag);
-
- getFlag = false;
- object.reset();
- EXPECT_FALSE(getFlag);
- EXPECT_TRUE(setFlag);
-}
-
TEST(GLObject, Value) {
setFlag = false;