1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Make egui_wgpu::renderer a private module (#3979)

All its contents is exported to the top-level
This commit is contained in:
Emil Ernerfeldt
2024-02-05 15:12:59 +01:00
committed by GitHub
parent 1858167296
commit 217e066626
5 changed files with 9 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ use raw_window_handle::{
use wasm_bindgen::JsValue;
use web_sys::HtmlCanvasElement;
use egui_wgpu::{renderer::ScreenDescriptor, RenderState, SurfaceErrorAction};
use egui_wgpu::{RenderState, SurfaceErrorAction};
use crate::WebOptions;
@@ -233,7 +233,7 @@ impl WebPainter for WebPainterWgpu {
});
// Upload all resources for the GPU.
let screen_descriptor = ScreenDescriptor {
let screen_descriptor = egui_wgpu::ScreenDescriptor {
size_in_pixels,
pixels_per_point,
};