texture_cache: Address Feedback

This commit is contained in:
Fernando Sahmkow 2019-07-04 21:10:59 -04:00 committed by FernandoS27
parent 30b176f92b
commit 3b9d89839d
7 changed files with 35 additions and 22 deletions

View file

@ -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;