summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-23 19:14:44 +0200
committerHampusM <hampus@hampusmat.com>2024-05-23 19:14:44 +0200
commit42f4da1c9670e4e9829a822a50dc708794744ca1 (patch)
treec17468edd5117121c27c067c5cb229298ed833f3 /src
parentb414b3e2ce8ea515915dc8798790d37b57d81441 (diff)
chore: use new renderer extension path
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
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()