BentleyBlanks/imguiDock

Imgui Dock white screen error when reopening application

Closed this issue · 2 comments

What I did:

  1. Included imgui_dock
  2. wrote this on setup:
ImGui::InitDock();
  1. wrote this on loop:
	if(ImGui::Begin("Dock Demo"))
	{
		// dock layout by hard-coded or .ini file
		ImGui::BeginDockspace("Paddle");

		if(ImGui::BeginDock("Dock 1")){
			ImGui::Text("Hi");
		}
		ImGui::EndDock();

		if(ImGui::BeginDock("Dock 2")){
			ImGui::Text("I'm BentleyBlanks!");
		}
		ImGui::EndDock();

		if(ImGui::BeginDock("Dock 3")){
			ImGui::Text("Hello World");
		}
		ImGui::EndDock();

		ImGui::EndDockspace();
	}
	ImGui::End();
  1. Launch the application
  2. Close the application
  3. Relaunch the application
  4. white screen, the application doesn't to anything.

It also happened on my friend's pc, so I'm working on it. Maybe it could be fixed these days.

Problem solved