From 42f4da1c9670e4e9829a822a50dc708794744ca1 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 23 May 2024 19:14:44 +0200 Subject: chore: use new renderer extension path --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8dbd788..a9bb704 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ use engine::file_format::wavefront::obj::parse as parse_obj; use engine::input::Extension as InputExtension; use engine::lighting::{AttenuationParams, GlobalLight, PointLight}; use engine::material::{Builder as MaterialBuilder, Flags as MaterialFlags}; -use engine::renderer::Extension as RendererExtension; +use engine::renderer::opengl::Extension as OpenglRendererExtension; use engine::shader::Program as ShaderProgram; use engine::transform::Transform; use engine::vector::Vec3; @@ -95,7 +95,7 @@ fn main() -> Result<(), Box> engine.register_system(StartEvent, prepare_window); - engine.add_extension(RendererExtension::default()); + engine.add_extension(OpenglRendererExtension::default()); engine.add_extension( WindowExtension::default() -- cgit v1.2.3-18-g5258