Skip to content

Commit

Permalink
Compile fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdumas committed Mar 14, 2024
1 parent 0129c2c commit 3421ecb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/polyscope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,11 +715,7 @@ void buildStructureGui() {
int32_t skipCount = 0;
for (auto& x : structureMap) {
ImGui::SetNextItemOpen(structureMap.size() <= 8,
<<<<<<< HEAD
ImGuiCond_FirstUseEver); // closed by default if more than 8
=======
ImGuiCond_FirstUseEver); // closed by default if more than 8
>>>>>>> upstream/master

if (structuresToSkip.find(x.second.get()) != structuresToSkip.end()) {
skipCount++;
Expand Down
2 changes: 1 addition & 1 deletion src/render/opengl/gl_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2188,7 +2188,7 @@ void GLEngine::initialize() {
void GLEngine::initializeImGui() {
bindDisplay();

imguiContext = ImGui::CreateContext(); // must call once at start
ImGui::CreateContext(); // must call once at start

// Set up ImGUI glfw bindings
ImGui_ImplGlfw_InitForOpenGL(mainWindow, true);
Expand Down

0 comments on commit 3421ecb

Please sign in to comment.