I am attempting to make a dll for my own use that uses GLFW. I can
successfully open a window, but it is always blank… I am currently just trying
to clear the screen to red to check that it works.
The same code works if I just put it in a normal project. So I am guessing
that it has something to do with the fact that I am attempting to use GLFW
from within another dll - and there is some gotcha that I am not aware of.
Any help with diagnosing this, or pointing me at the correct methods for doing
this sort of thing would be greatly appreciated.