-
Notifications
You must be signed in to change notification settings - Fork 435
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
GLES Header Name and directory #353
Comments
Where do you see the issue, just because the naming convention is different and it should be
Also if the backend supports loading of the symbols (like imgui does with PS: With glad2 you can generate a header only library which you can freely rename without needing to update other files. |
I think glad should optionaly be able to generate I only encountered this 'niche' renaming requirement with this ImGUI's |
I have thought about "post processing" steps before, e.g. changing the glad prefix to something custom, but usually not many people need this and can be done in a < 5 lines shell script ( So if I understand that correctly you want to modify your build environment in a way that imgui picks up the glad instead of the system headers? |
Just like you described I use a "5 lines script", its actually within my project's CMakeLists:
Indeed if not many people need this, no need to worry. |
It looks like in several projects I encountered, the GLES headers have a somewhat standard form:
#include <GLES2/gl2.h>
or#include <GLES3/gl3.h>
Instead of the custom
#include <glad/gles2.h>
and#include <glad/gles3.h>
ImGui is an example where this can be problematic: it is loader agnostic and relies on those See GL3/GLES Backend.
Its a minor issue indeed, but do you have an opinion on this ?
The text was updated successfully, but these errors were encountered: