Fixing blurred shapes on MacOS

Original commit: e7afdb245b
This commit is contained in:
Wojciech Daniło 2020-04-29 05:32:43 +02:00 committed by GitHub
parent 1bb1a5f8de
commit d4b4a211c2

View File

@ -755,7 +755,7 @@ impl SceneData {
let callbacks = Callbacks {on_zoom,on_resize};
let style_sheet = default();
uniforms.zoom.set(dom.shape().pixel_ratio());
uniforms.pixel_ratio.set(dom.shape().pixel_ratio());
Self {renderer,display_object,dom,context,symbols,views,dirty,logger,variables
,stats,uniforms,mouse,callbacks,shapes,style_sheet}
}