diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-26 17:51:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 17:51:15 -0800 |
commit | b250ce21b9a62cb573540fdb14f30c28fa66e6ad (patch) | |
tree | ef55a0cd4a531a097de2152f563d712551972c4b /src/core/hw/gpu.h | |
parent | f2ae2a7ff2a053d019985f70a2cc999c8d8bb844 (diff) | |
parent | 174464a87f2e1709597bc1e0cb08c877487a771b (diff) |
Merge pull request #2587 from yuriks/status-bar
Replace built-in Profiler with indicators in status bar
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r-- | src/core/hw/gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index d53381216..bdd997b2a 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h @@ -13,6 +13,8 @@ namespace GPU { +constexpr float SCREEN_REFRESH_RATE = 60; + // Returns index corresponding to the Regs member labeled by field_name // TODO: Due to Visual studio bug 209229, offsetof does not return constant expressions // when used with array elements (e.g. GPU_REG_INDEX(memory_fill_config[0])). |