]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Use gettime(GETTIME_FRAMESTART) instead of gettime(GETTIME_REALTIME) to calculate...
authorterencehill <piuntn@gmail.com>
Sun, 27 Sep 2020 10:27:28 +0000 (12:27 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 27 Sep 2020 13:51:23 +0000 (15:51 +0200)
commit3f51fd2a296703cddf97a70196cf5768ba86d17e
treef420165f5215c71bd7867e2af5c80dee09af7722
parentaafb3956d4321d56a6c34ccb1796b8bf6fa89458
Use gettime(GETTIME_FRAMESTART) instead of gettime(GETTIME_REALTIME) to calculate qc fps as the latter becomes inaccurate after a while (at least on Windows 10). It should be noted that gettime(GETTIME_FRAMESTART) returns the value of the engine variable realtime which is used by the engine to calculate the engine fps
qcsrc/client/hud/panel/engineinfo.qc
qcsrc/client/view.qc