diff --git a/src/common/memory_ref.h b/src/common/memory_ref.h index c11beb04d6..f1a3286aba 100644 --- a/src/common/memory_ref.h +++ b/src/common/memory_ref.h @@ -31,11 +31,11 @@ public: BufferMem() = default; BufferMem(u32 size) : data(std::vector(size)) {} - virtual u8* GetPtr() { + u8* GetPtr() override { return data.data(); } - virtual u32 GetSize() const { + u32 GetSize() const override { return static_cast(data.size()); } diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h index 6a5a334193..05a1e8b80a 100644 --- a/src/video_core/shader/shader.h +++ b/src/video_core/shader/shader.h @@ -70,6 +70,7 @@ private: void serialize(Archive& ar, const unsigned int) { ar& pos; ar& quat; + ar& color; ar& tc0; ar& tc1; ar& tc0_w;