This is the first time I try GLFW for a quick project and I must say I’m certainly a noob. However, a problem is driving me crazy.
It happens to me that when a simple plain GLFW window opens it’s always empty, or blank. It only starts rendering the actual clear color, or whatever graphics I would want to show, when I move or resize the window itself. It happens every time I run the code.
I’m developing on a MacBook Pro 2017 with XCode 10 and Mojave, using the latest GLFW sources on GitHub, and I’ve tried multiple code snippets from different pages, but the problem is always there, even with the simplest clean window & context creation.
I haven’t been able to find any documentation or similar cases on the Internet and that’s why I’ve come here for help or moral support. Any idea on this?
I can provide you some code, but I think it’s useless as I’ve tried multiple examples out there.
Thank you very much!