Hi Fry
here is the FPS counter of Iglass mod :
' ---------------
' FPS Counter var
' ---------------
Global IGL_Frames:Int
Global IGL_RenderTime:Int
Global IGL_Fps:Int
' ------------
' For know FPS
' ------------
Function IGL_RefreshFPS()
IGL_Frames=IGL_Frames+1
If MilliSecs()-IGL_RenderTime=>1000 Then
IGL_Fps=IGL_Frames
IGL_Frames=0
IGL_RenderTime=MilliSecs()
EndIf
End Function
It's a convertion from a blitz3D fps counter, i think there
is no errors ? and i agree too, i find that FPS counter's
with bmax return sometime some strange result :/ Maybe there
is a stuff to do with screen hertz and vsync ?
here is the FPS counter of Iglass mod :
' ---------------
' FPS Counter var
' ---------------
Global IGL_Frames:Int
Global IGL_RenderTime:Int
Global IGL_Fps:Int
' ------------
' For know FPS
' ------------
Function IGL_RefreshFPS()
IGL_Frames=IGL_Frames+1
If MilliSecs()-IGL_RenderTime=>1000 Then
IGL_Fps=IGL_Frames
IGL_Frames=0
IGL_RenderTime=MilliSecs()
EndIf
End Function
It's a convertion from a blitz3D fps counter, i think there
is no errors ? and i agree too, i find that FPS counter's
with bmax return sometime some strange result :/ Maybe there
is a stuff to do with screen hertz and vsync ?