diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-10-15 14:47:42 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 15:24:50 -0400 |
| commit | ac4dbd3b25f022b3ef025f6d3451712187308efb (patch) | |
| tree | 0d2b2fac72afd6c8ae91935ff5c1968590bd2d8a /src/video_core/texture_cache | |
| parent | cab2619aeb111bd6c5dbcc5adc0d2e8154a1e8fc (diff) | |
common: Rename binary_find.h to algorithm.h
Makes the header more general for other potential algorithms in the
future. While we're at it, include a missing <functional> include to
satisfy the use of std::less.
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/surface_base.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/texture_cache/surface_base.h | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cpp index 683c49207..829268b4c 100644 --- a/src/video_core/texture_cache/surface_base.cpp +++ b/src/video_core/texture_cache/surface_base.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include "common/algorithm.h" #include "common/assert.h" #include "common/common_types.h" #include "common/microprofile.h" diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index 5e497e49f..1bed82898 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -4,12 +4,11 @@ #pragma once -#include <algorithm> +#include <optional> +#include <tuple> #include <unordered_map> #include <vector> -#include "common/assert.h" -#include "common/binary_find.h" #include "common/common_types.h" #include "video_core/gpu.h" #include "video_core/morton.h" |
