I Recently learnt openGL in java and then moved to c++, where i rewrote java code, via help of a website (learnopengl.com), I made a basic window which works well, but then i st