Posted
over 9 years
ago
I also couldn't find this without googlehttp://javadoc.lwjgl.org/org/lwjgl/opengl/GLContext.htmlit's like it's missing in the index and class lists.
|
Posted
over 9 years
ago
Not sure if this is a real bug because I'm a noob.At the javadoc http://javadoc.lwjgl.org/ I can't find the Callbacks class. I used google and found it here http://javadoc.lwjgl.org/org/lwjgl/glfw/Callbacks.htmlWhy isn't it in the list of classes?
|
Posted
over 9 years
ago
Ok great, I imagine I should get it to work now, thank you very much.
|
Posted
over 9 years
ago
To answer your question: Yes, you need to use GL_RED.
|
Posted
over 9 years
ago
Quote from: Zeno on August 04, 2015, 10:50:40I didn't give this a second thought before this issue, but am I right in thinking this means STB's font data uses a single float value per pixel?It's an unsigned byte per pix...
|
Posted
over 9 years
ago
The import is used for the javadoc links only. That file is ignored during compilation, so the (ant) build should work anyway.But it'd be better if it wasn't generated in the first place, so I'll do that. Thanks!
|
Posted
over 9 years
ago
I just updated the my local LWJGL 3 clone and tried to build myself.There is one small issue: In the generated file org.lwjgl.glfw.GLFWEGL.java, there is an import to a non-existing class `org.lwjgl.egl.EGL10`.That import also does not seem to be use...
|
Posted
over 9 years
ago
STB does not call any OpenGL functions internally. It sounds like you're using deprecated functionality to render the font texture, which is not available under the core profile. What error are you getting exactly? Try a debug context with a debug mess...
|
Posted
over 9 years
ago
Drivers can have bugs too. It might be that either the new ones are too strict, or the old ones were not strict enough.However, I dont know what is causing the problem with STBTrueType; I have not worked with it yet.
|
Posted
over 9 years
ago
So a few days ago I finally managed to get STBTrueType working. Then yesterday, I updated my NVIDIA drivers, and everything started failing again. After trying just about everything short of a goat sacrifice, on a whim I decided to fiddle around with m...
|