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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user