Skip to content

Commit

Permalink
Fix web build and doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Feb 5, 2024
1 parent 9774527 commit 9d4f8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/eframe/src/web/web_painter_wgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion crates/egui-wgpu/src/winit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl BufferPadding {

/// Everything you need to paint egui with [`wgpu`] on [`winit`].
///
/// Alternatively you can use [`crate::renderer`] directly.
/// Alternatively you can use [`crate::Renderer`] directly.
///
/// NOTE: all egui viewports share the same painter.
pub struct Painter {
Expand Down

0 comments on commit 9d4f8eb

Please sign in to comment.