summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-05 03:10:59 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-05 15:46:53 +0200
commit3b9d89839dc62e9e63a3cbe9636cf85276babdfb (patch)
treed99f4a48789f01c671f132c144f2dff2256223aa /src/video_core/texture_cache
parenttexture_cache: Correct Texture Buffer Uploading (diff)
downloadyuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.gz
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.bz2
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.lz
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.xz
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.tar.zst
yuzu-3b9d89839dc62e9e63a3cbe9636cf85276babdfb.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/surface_base.h4
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;