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