"g.font was nullptr" flurry of errors with opengl and glfw #6499
Closed
jasonrdunne
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment
-
You are not calling ImGui::NewFrame() and corresponding backend functions. Refer to examples application in the examples/ folder. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the jist of my code, it's literally copy pasted from the example:
However, this gives me the error "Exception thrown: read access violation: g.font was nullptr" even though apparently a font is supposed to be loaded by default. I add this above the main loop:
and now it tells me "g.CurrentWindow was nullptr." If i hadn't done io.Fonts->Build(), then it says "atlas was nullptr". I can't find anyone else having this issue online.
Beta Was this translation helpful? Give feedback.
All reactions