Hey guys,
I just started writing my very first OpenGL app. I need to use WGL, so that I have full control over window creation. I managed to implement this functionality, so that I have a borderless window and everything seems to work fine when no drawing takes place.
When I don't draw anything (and don't swap buffers) the app uses around 7 MB RAM. I guess that's normal, since a very minimal GLUT app uses that amount of memory too.
However, as soon as I start drawing things, the memory usages rises to almost 25 - 30 MB! I don't think a simple blue rectangle takes that much space.
I'm probably doing something wrong here... :D
The 'CWindow.h' Header File: