3d renderer
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <core.hpp>
|
||||
#include <events/application_event.hpp>
|
||||
#include <renderer/renderer3d.hpp>
|
||||
#include <renderer/renderer2d.hpp>
|
||||
#include <input/input_system.hpp>
|
||||
#include <imgui/imgui_layer.hpp>
|
||||
@@ -28,7 +29,8 @@ namespace OpenEngine {
|
||||
{
|
||||
OE_PROFILE_SCOPE("Initializing Renderers");
|
||||
Renderer::Init();
|
||||
Renderer2D::Init();
|
||||
//Renderer2D::Init();
|
||||
Renderer3D::Init();
|
||||
}
|
||||
|
||||
imgui_layer = std::make_shared<ImGuiLayer>();
|
||||
@@ -39,7 +41,8 @@ namespace OpenEngine {
|
||||
|
||||
Application::~Application()
|
||||
{
|
||||
OpenEngine::Renderer2D::Shutdown();
|
||||
//OpenEngine::Renderer2D::Shutdown();
|
||||
Renderer3D::Shutdown();
|
||||
}
|
||||
|
||||
void Application::Run()
|
||||
|
||||
Reference in New Issue
Block a user