eframe: always provide a texture allocator

This commit is contained in:
Emil Ernerfeldt
2021-02-28 19:09:48 +01:00
parent fdb1aa6bec
commit 84cc227f11
6 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ impl AppRunner {
seconds_since_midnight: Some(seconds_since_midnight()),
native_pixels_per_point: Some(native_pixels_per_point()),
},
tex_allocator: Some(self.web_backend.painter.as_tex_allocator()),
tex_allocator: self.web_backend.painter.as_tex_allocator(),
#[cfg(feature = "http")]
http: self.http.clone(),
output: &mut app_output,