diff options
Diffstat (limited to 'glow/src/backend.rs')
-rw-r--r-- | glow/src/backend.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/glow/src/backend.rs b/glow/src/backend.rs index e1685816..1680fc00 100644 --- a/glow/src/backend.rs +++ b/glow/src/backend.rs @@ -23,10 +23,13 @@ pub struct Backend { impl Backend { /// Creates a new [`Backend`]. - /// - /// [`Backend`]: struct.Backend.html pub fn new(gl: &glow::Context, settings: Settings) -> Self { - let text_pipeline = text::Pipeline::new(gl, settings.default_font); + let text_pipeline = text::Pipeline::new( + gl, + settings.default_font, + settings.text_multithreading, + ); + let quad_pipeline = quad::Pipeline::new(gl); let triangle_pipeline = triangle::Pipeline::new(gl); |