[core] Ensure that a BackendScope exists when doing GL calls
This commit is contained in:
committed by
John Firebaugh
parent
d7227e13a7
commit
8e5214144e
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user