diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-04 21:10:59 -0400 |
|---|---|---|
| committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 09:46:53 -0400 |
| commit | 3b9d89839dc62e9e63a3cbe9636cf85276babdfb (patch) | |
| tree | d99f4a48789f01c671f132c144f2dff2256223aa /src/video_core/texture_cache | |
| parent | 30b176f92b67ec7a9b1ce08cf89d50abd125f8a8 (diff) | |
texture_cache: Address Feedback
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/surface_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index eaed6545d..8ba386a8a 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -9,7 +9,7 @@ #include <vector> #include "common/assert.h" -#include "common/common_funcs.h" +#include "common/binary_find.h" #include "common/common_types.h" #include "video_core/gpu.h" #include "video_core/morton.h" @@ -191,7 +191,7 @@ private: template <typename TView> class SurfaceBase : public SurfaceBaseImpl { public: - virtual void UploadTexture(std::vector<u8>& staging_buffer) = 0; + virtual void UploadTexture(const std::vector<u8>& staging_buffer) = 0; virtual void DownloadTexture(std::vector<u8>& staging_buffer) = 0; |
