From 0b0beb3a201dda63ab216da0aeba7be31c6bbded Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 20 Aug 2020 16:10:43 +0100 Subject: [PATCH] Call virtual functions by explicit class in constructor --- renderdoc/core/replay_proxy.h | 4 ++-- renderdoc/maths/camera.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/renderdoc/core/replay_proxy.h b/renderdoc/core/replay_proxy.h index 0bb96e3a1..345087718 100644 --- a/renderdoc/core/replay_proxy.h +++ b/renderdoc/core/replay_proxy.h @@ -130,8 +130,8 @@ public: m_Replay(NULL), m_RemoteServer(false) { - GetAPIProperties(); - FetchStructuredFile(); + ReplayProxy::GetAPIProperties(); + ReplayProxy::FetchStructuredFile(); } ReplayProxy(ReadSerialiser &reader, WriteSerialiser &writer, IRemoteDriver *remoteDriver, diff --git a/renderdoc/maths/camera.h b/renderdoc/maths/camera.h index c7473ca1a..3f7048093 100644 --- a/renderdoc/maths/camera.h +++ b/renderdoc/maths/camera.h @@ -34,7 +34,10 @@ class Matrix4f; class Camera : public ICamera { public: - Camera(CameraType t) : type(t), dirty(true), pos(), dist(0.0f), angles() { ResetArcball(); } + Camera(CameraType t) : type(t), dirty(true), pos(), dist(0.0f), angles() + { + Camera::ResetArcball(); + } virtual ~Camera() {} void Shutdown() { delete this; } void SetPosition(float x, float y, float z)