79163403

Date: 2024-11-06 16:22:02
Score: 3.5
Natty:
Report link

Found the issue!

It was because drawing the texture onto the screen draws on top of the gui. I had to separate the functions out into a "DrawScreenTexture()" function and then just a "SwapWindow()" function. Code now looks like this.

ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplSDL2_NewFrame();
ImGui::NewFrame();

ImGui::Begin("Material Controls");
ImGui::Text("Hello World!");
ImGui::End();

_myFramework.DrawScreenTexture();

ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());

_myFramework.SwapWindow();

Also shout out to whoever downvoted my question and to whoever edited my question to take any kind of personality out much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: James Comer