summaryrefslogtreecommitdiff
path: root/test/util/offscreen_texture.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/offscreen_texture.test.cpp')
-rw-r--r--test/util/offscreen_texture.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/offscreen_texture.test.cpp b/test/util/offscreen_texture.test.cpp
index 683a4e6095..9a07f4f3bf 100644
--- a/test/util/offscreen_texture.test.cpp
+++ b/test/util/offscreen_texture.test.cpp
@@ -10,7 +10,7 @@
using namespace mbgl;
TEST(OffscreenTexture, EmptyRed) {
- HeadlessBackend backend;
+ HeadlessBackend backend { test::sharedDisplay() };
OffscreenView view(backend.getContext(), { 512, 256 });
view.bind();
@@ -67,7 +67,7 @@ struct Buffer {
TEST(OffscreenTexture, RenderToTexture) {
- HeadlessBackend backend;
+ HeadlessBackend backend { test::sharedDisplay() };
auto& context = backend.getContext();
MBGL_CHECK_ERROR(glEnable(GL_BLEND));