diff options
Diffstat (limited to 'src/video_core/shader_environment.h')
| -rw-r--r-- | src/video_core/shader_environment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h index 6b372e3365..2d781d82f7 100644 --- a/src/video_core/shader_environment.h +++ b/src/video_core/shader_environment.h @@ -86,10 +86,10 @@ protected: u32 shared_memory_size{}; std::array<u32, 3> workgroup_size{}; - u32 read_lowest = std::numeric_limits<u32>::max(); + u32 read_lowest = (std::numeric_limits<u32>::max)(); u32 read_highest = 0; - u32 cached_lowest = std::numeric_limits<u32>::max(); + u32 cached_lowest = (std::numeric_limits<u32>::max)(); u32 cached_highest = 0; u32 initial_offset = 0; |
