I wrote this small and simple opengl application that draws about a hundred squares and rotates them around z-axis.
First I did this using glut to open up a window and so on. Resizing the window at runtime affected fps immediately. Using a smaller window gave more fps and larger window slowed down.
Then I copied the code for opening opengl windows using native Windows calls from NeHe’s tutorials and added this rotational code to it. Resizing the window does NOT affect the fps at all.
Now, it seems like glut doesn’t do the window initialization right in Windows -> it doesn’t use hardware acceleration. Am I right or wrong or did I use glut the wrong way? I have a TNT2 Ultra card if that’s got anything to do with it.