mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-17 21:56:21 +00:00
Clean up comment
This commit is contained in:
parent
2592008c2b
commit
f5375d0617
@ -171,18 +171,17 @@ impl Renderer {
|
|||||||
let pipelines =
|
let pipelines =
|
||||||
Pipelines::new(&device, &bind_group_layout, color_format);
|
Pipelines::new(&device, &bind_group_layout, color_format);
|
||||||
|
|
||||||
|
// We need to hold on to this, otherwise it might cause the egui font
|
||||||
|
// texture to get dropped after drawing one frame.
|
||||||
//
|
//
|
||||||
// Note: We need to hold on to this otherwise (from my memory)
|
// This then results in an `egui_wgpu_backend` error of
|
||||||
// it causes the egui font texture to get dropped after
|
// `BackendError::Internal` with message:
|
||||||
// drawing one frame.
|
|
||||||
//
|
//
|
||||||
// This then results in an `egui_wgpu_backend` error of
|
// ```
|
||||||
// `BackendError::Internal` with message:
|
// Texture 0 used but not live
|
||||||
//
|
// ```
|
||||||
// "Texture 0 used but not live"
|
|
||||||
//
|
|
||||||
// See also: <https://github.com/hasenbanck/egui_wgpu_backend/blob/b2d3e7967351690c6425f37cd6d4ffb083a7e8e6/src/lib.rs#L373>
|
|
||||||
//
|
//
|
||||||
|
// See also: <https://github.com/hasenbanck/egui_wgpu_backend/blob/b2d3e7967351690c6425f37cd6d4ffb083a7e8e6/src/lib.rs#L373>
|
||||||
let egui_rpass = egui_wgpu::renderer::RenderPass::new(
|
let egui_rpass = egui_wgpu::renderer::RenderPass::new(
|
||||||
&device,
|
&device,
|
||||||
surface_config.format,
|
surface_config.format,
|
||||||
|
Loading…
Reference in New Issue
Block a user