Nill pointer from glTextImage2D #6946
shrit
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 2 comments 6 replies
-
@ocornut did I open this in the wrong place? I am happy to re-open it as an issue |
Beta Was this translation helpful? Give feedback.
3 replies
-
@PathogenDavid Thank you very much for your answer, I agree with all your points. Actually, if you know a backend library for graphics in Linux that you prefer and that is lightweight, not cumbersome and does not add a ton of libraries into the linking process, I would be more than happy to use it, I am not familiar with either GLFW or SDL so if you have a preference I would be more than happy to follow it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to run the example that is provided to load images but the
image_texture
pointer is alwaysNULL
orFFFFFF
NULL
if you change toGL_RGB
andFFFFFF
if you keep the GL_RGBA, the standard one (if course with changing the channel number in stb).Any idea why this is happening I have checked the image and it is loaded correctly by STB.
No error returned by opengl
I know this is not directly related to ImGUI but I am pretty sure that the maintainers have came accross this issue or have an idea what I am doing wrong especially that opengl is not my domain of expertise
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions