From e851f81425a8ddd20115c3090e81f363e7a87577 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 25 Aug 2026 16:01:59 +0200 Subject: refactor(engine): rename rendering::SurfaceSpec to Surface --- engine/src/rendering/backend/opengl.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/src/rendering/backend') 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, - Without, + Without, )>, windowing_context: Single, graphics_props: Single, @@ -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, -- cgit v1.2.3-18-g5258