mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-14 23:05:17 +00:00
video_core: Add missing override specifiers
Ensures that the signatures will always match with the base class. Also silences a few compilation warnings.
This commit is contained in:
parent
47f2405ab1
commit
bbe700359d
|
@ -538,12 +538,12 @@ private:
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void Register(const Surface& object) {
|
||||
void Register(const Surface& object) override {
|
||||
RasterizerCache<Surface>::Register(object);
|
||||
}
|
||||
|
||||
/// Unregisters an object from the cache
|
||||
void Unregister(const Surface& object) {
|
||||
void Unregister(const Surface& object) override {
|
||||
if (object->IsReinterpreted()) {
|
||||
auto interval = GetReinterpretInterval(object);
|
||||
reinterpreted_surfaces.erase(interval);
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
CommandBufferPool(const VKDevice& device)
|
||||
: VKFencedPool(COMMAND_BUFFER_POOL_SIZE), device{device} {}
|
||||
|
||||
void Allocate(std::size_t begin, std::size_t end) {
|
||||
void Allocate(std::size_t begin, std::size_t end) override {
|
||||
const auto dev = device.GetLogical();
|
||||
const auto& dld = device.GetDispatchLoader();
|
||||
const u32 graphics_family = device.GetGraphicsFamily();
|
||||
|
|
|
@ -97,7 +97,7 @@ private:
|
|||
class VKFenceWatch final : public VKResource {
|
||||
public:
|
||||
explicit VKFenceWatch();
|
||||
~VKFenceWatch();
|
||||
~VKFenceWatch() override;
|
||||
|
||||
/// Waits for the fence to be released.
|
||||
void Wait();
|
||||
|
|
Loading…
Reference in a new issue