Advertisement
Guest User

Untitled

a guest
May 29th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Public Sub RenderLoop()
  2. While True
  3. Application.DoEvents()
  4. If Opts.LockFps = True And Not D3DDevice9 Is Nothing Then
  5. Lock_Framerate(D3DDevice9.DisplayMode.RefreshRate)
  6. End If
  7. If InMenu = True Then
  8. DrawMenu()
  9. End If
  10. QueryPerformanceCounter(Start_Time)
  11. End While
  12. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement