From 8e5214144ec4f3a4fb40b7a7e4d8f09fd10dbb78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 27 Feb 2017 18:33:16 +0100 Subject: [core] Ensure that a BackendScope exists when doing GL calls --- test/gl/object.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/gl/object.test.cpp') diff --git a/test/gl/object.test.cpp b/test/gl/object.test.cpp index 85ae457081..5d2bf6735e 100644 --- a/test/gl/object.test.cpp +++ b/test/gl/object.test.cpp @@ -62,8 +62,8 @@ TEST(GLObject, Value) { TEST(GLObject, Store) { HeadlessBackend backend { test::sharedDisplay() }; - OffscreenView view(backend.getContext()); BackendScope scope { backend }; + OffscreenView view(backend.getContext()); gl::Context context; EXPECT_TRUE(context.empty()); -- cgit v1.2.1