mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Make GL/GLES decisions based on the API in use.
This commit is contained in:
parent
812bf8d816
commit
dbaed5ed92
13 changed files with 83 additions and 52 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue