Applying better design choices for general engine
Renderer is causing a big memory leak because it never deletes its Vertex Array
This commit is contained in:
14
Editor/src/UI/EditorWindow.h
Normal file
14
Editor/src/UI/EditorWindow.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <imgui.h>
|
||||
#include <string>
|
||||
|
||||
class EditorWindow {
|
||||
|
||||
public:
|
||||
EditorWindow(const std::string& name ) { ImGui::Begin(name.c_str()); }
|
||||
|
||||
|
||||
|
||||
~EditorWindow() { ImGui::End(); }
|
||||
|
||||
};
|
Reference in New Issue
Block a user