New answers tagged glfw
I fixed it with: glOrtho(0, width, height, 0, 0, 1);
You are correct that you cannot take the same window with the same GL context and change between fullscreen and windowed. What I have done is set up my rendering system (and input, etc...) to generically set itself up, and extended that slightly to allow it to re-set itself up without leaking memory. So when the application first launches, everything is ...
Top 50 recent answers are included