Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash after pressing F1. #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

YeetElite
Copy link

Moved ImGui::Render(); to the main rendering loop for now so it'll always run and not accidentally abort when uiEnabled is false.

Issue:

scuffed_mc: /home/david/ScuffedMinecraft/ScuffedMinecraft/vendor/imgui/imgui.cpp:10090: void ImGui::ErrorCheckNewFrameSanityChecks(): Assertion `(g.FrameCount == 0 || g.FrameCountEnded == g.FrameCount) && "Forgot to call Render() or EndFrame() at the end of the previous frame?"' failed.

Thread 1 "scuffed_mc" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, 
    no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant