tmp
This commit is contained in:
parent
25fd52294f
commit
16af8dc809
6 changed files with 140 additions and 42 deletions
|
|
@ -47,7 +47,7 @@ DebugGUI::~DebugGUI() {
|
|||
delete mContext;
|
||||
}
|
||||
|
||||
void DebugGUI::proc() {
|
||||
void DebugGUI::drawBegin() {
|
||||
tp::HeapAllocGlobal::startIgnore();
|
||||
|
||||
ImGui_ImplOpenGL3_NewFrame();
|
||||
|
|
@ -57,7 +57,7 @@ void DebugGUI::proc() {
|
|||
tp::HeapAllocGlobal::stopIgnore();
|
||||
}
|
||||
|
||||
void DebugGUI::draw() {
|
||||
void DebugGUI::drawEnd() {
|
||||
ImGui::Render();
|
||||
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue