i am making a game and suddenly there appeared a bug with the window from nowhere. Or I just didn’t realise it was there before…
The drawing area of the window (where opengl things are drawn, I hope you know what I mean) is smaller than the inside area of the window. Here is a screenshot of the window:
The padding between the drawing area and the inside border of the window is exactly as width as the border of the window. When I click inside the window, the action is also only recognized by the window procedure when i click inside the drawing area… I have no idea what is going on here. I tried to resize my window. I tried to change the width and height in glOrtho(…). I checked the window is not resized after opengl is initialized, so I have no more options I could try from my experience…
I hope somebody has an answer to this. Thank you in advance!