diff options
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<dyn Error>> engine.register_system(StartEvent, prepare_window); - engine.add_extension(RendererExtension::default()); + engine.add_extension(OpenglRendererExtension::default()); engine.add_extension( WindowExtension::default() |