Renderer is causing a big memory leak because it never deletes its Vertex Array
14 lines
196 B
C++
14 lines
196 B
C++
#pragma once
|
|
#include <imgui.h>
|
|
#include <string>
|
|
|
|
class EditorWindow {
|
|
|
|
public:
|
|
EditorWindow(const std::string& name ) { ImGui::Begin(name.c_str()); }
|
|
|
|
|
|
|
|
~EditorWindow() { ImGui::End(); }
|
|
|
|
}; |