OpenGL Functions not Declared #4896
Ultim8Xeno
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment 6 replies
-
Can you share the contents of |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
so I tried to add imgui to my project and I'm getting a bunch of errors relating to undeclared/undefined functions
Here are the errors : https://paste.myst.rs/qisz3no7
I'm calling these imgui commands to begin and end : https://paste.myst.rs/kz9yzf0u
The error is that in "imgui_impl_opengl3_loader.h", a few opengl functions aren't defined.
Those functions are defined in this : https://paste.myst.rs/1fuhleqo
Which is locked behind the ifndef guard, meaning GL_VERSION_1_1 is defined somewhere
I tried putting a "#undef GL_VERSION_1_1" before the guard (and a #define right after to make sure I don't break anything). That did fix the errors but the imgui windows appear behind all the other things I render. That might just be a problem with something else but I'm not sure (I'm using GL_DEPTH_TEST).
Where and why is GL_VERSION_1_1 defined and why does that effect the functions in that block? Thanks for the help
Beta Was this translation helpful? Give feedback.
All reactions