Can't see anything wrong with that code. Almost identical to the way I do it.
- If GetTickCount >= (fps_last_time + 1000) Then
- fps = fps_frame_counter
- fps_frame_counter = 0
- fps_last_time = GetTickCount
- Else
- fps_frame_counter = fps_frame_counter + 1
- End If
like you say - maybe it will calm down when you start adding things like animation and other engine tasks...