aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-07-10 17:34:16 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-07-12 13:36:44 -0400
commitdbaed5ed9276843ae3aa10f8671f65db839b7ffe (patch)
tree8493b7aa58d3e19cf558ebd5d346e5ea2ae897c4 /components/servo
parent812bf8d816d29ecf132ff15a2da6a83c690e2e48 (diff)
downloadservo-dbaed5ed9276843ae3aa10f8671f65db839b7ffe.tar.gz
servo-dbaed5ed9276843ae3aa10f8671f65db839b7ffe.zip
Make GL/GLES decisions based on the API in use.
Diffstat (limited to 'components/servo')
-rw-r--r--components/servo/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index f31cc1fcd24..2f67d563991 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -747,7 +747,7 @@ fn create_constellation(
GLContextFactory::current_osmesa_handle()
} else {
let dispatcher = Box::new(MainThreadDispatcher::new(compositor_proxy.clone())) as Box<_>;
- GLContextFactory::current_native_handle(dispatcher)
+ GLContextFactory::current_native_handle(dispatcher, window_gl.get_type())
};
let (external_image_handlers, external_images) = WebrenderExternalImageHandlers::new();