diff options
| author | 2019-07-04 21:10:59 -0400 | |
|---|---|---|
| committer | 2019-07-05 09:46:53 -0400 | |
| commit | 3b9d89839dc62e9e63a3cbe9636cf85276babdfb (patch) | |
| tree | d99f4a48789f01c671f132c144f2dff2256223aa /src/video_core/texture_cache | |
| parent | texture_cache: Correct Texture Buffer Uploading (diff) | |
| download | yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.gz yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.xz yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.zip | |
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 @@ | |||
| 9 | #include <vector> | 9 | #include <vector> |
| 10 | 10 | ||
| 11 | #include "common/assert.h" | 11 | #include "common/assert.h" |
| 12 | #include "common/common_funcs.h" | 12 | #include "common/binary_find.h" |
| 13 | #include "common/common_types.h" | 13 | #include "common/common_types.h" |
| 14 | #include "video_core/gpu.h" | 14 | #include "video_core/gpu.h" |
| 15 | #include "video_core/morton.h" | 15 | #include "video_core/morton.h" |
| @@ -191,7 +191,7 @@ private: | |||
| 191 | template <typename TView> | 191 | template <typename TView> |
| 192 | class SurfaceBase : public SurfaceBaseImpl { | 192 | class SurfaceBase : public SurfaceBaseImpl { |
| 193 | public: | 193 | public: |
| 194 | virtual void UploadTexture(std::vector<u8>& staging_buffer) = 0; | 194 | virtual void UploadTexture(const std::vector<u8>& staging_buffer) = 0; |
| 195 | 195 | ||
| 196 | virtual void DownloadTexture(std::vector<u8>& staging_buffer) = 0; | 196 | virtual void DownloadTexture(std::vector<u8>& staging_buffer) = 0; |
| 197 | 197 | ||