diff options
| author | HampusM <hampus@hampusmat.com> | 2026-08-25 16:01:59 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-08-25 16:01:59 +0200 |
| commit | e851f81425a8ddd20115c3090e81f363e7a87577 (patch) | |
| tree | 3279ea4dfae6710cb34e744c86d17bc5c306adff /engine/src/rendering/backend/opengl.rs | |
| parent | 4d011687e5e65b97168610659bc79330983cf59b (diff) | |
refactor(engine): rename rendering::SurfaceSpec to Surface
Diffstat (limited to 'engine/src/rendering/backend/opengl.rs')
| -rw-r--r-- | engine/src/rendering/backend/opengl.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/src/rendering/backend/opengl.rs b/engine/src/rendering/backend/opengl.rs index 6a8637b..33a1712 100644 --- a/engine/src/rendering/backend/opengl.rs +++ b/engine/src/rendering/backend/opengl.rs @@ -114,8 +114,8 @@ use crate::rendering::{ DrawMeshOptions, DrawPropertiesUpdateFlags, GraphicsProperties, + Surface, SurfaceId, - SurfaceSpec, TargetWindow, POST_RENDER_PHASE, RENDER_PHASE, @@ -286,7 +286,7 @@ fn init_window_graphics( &Window, &WindowGlConfig, With<TargetWindow>, - Without<SurfaceSpec>, + Without<Surface>, )>, windowing_context: Single<WindowingContext>, graphics_props: Single<GraphicsProperties>, @@ -427,7 +427,7 @@ fn init_window_graphics( let surface_id = SurfaceId::new_unique(); - actions.add_components(window_ent_id, (SurfaceSpec { id: surface_id },)); + actions.add_components(window_ent_id, (Surface { id: surface_id },)); graphics_ctx.surfaces.insert( surface_id, |
