diff options
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, |
