- remove old vid_maxfps implementations as they were garbage anyway and the new one works on all the platforms

This commit is contained in:
Magnus Norddahl 2019-03-26 11:10:17 +01:00
commit 9f0f659db0
14 changed files with 44 additions and 281 deletions

View file

@ -107,7 +107,6 @@ private:
void CopyScreenToBuffer(int w, int h, void *data);
void UpdateShadowMap();
void DeleteFrameObjects();
void FPSLimit();
std::unique_ptr<VkShaderManager> mShaderManager;
std::unique_ptr<VkSamplerManager> mSamplerManager;
@ -132,8 +131,6 @@ private:
int lastSwapWidth = 0;
int lastSwapHeight = 0;
uint64_t fpsLimitTime = 0;
};
inline VulkanFrameBuffer *GetVulkanFrameBuffer() { return static_cast<VulkanFrameBuffer*>(screen); }