mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Render: Get rid of explicit new and delete
This commit is contained in:
parent
14e976a5f1
commit
da0e647346
6 changed files with 19 additions and 24 deletions
|
@ -130,7 +130,7 @@ public:
|
|||
static PEControl::PixelFormat GetPrevPixelFormat() { return prev_efb_format; }
|
||||
static void StorePixelFormat(PEControl::PixelFormat new_format) { prev_efb_format = new_format; }
|
||||
|
||||
PostProcessingShaderImplementation* GetPostProcessor() { return m_post_processor; }
|
||||
PostProcessingShaderImplementation* GetPostProcessor() { return m_post_processor.get(); }
|
||||
// Max height/width
|
||||
virtual int GetMaxTextureSize() = 0;
|
||||
|
||||
|
@ -173,7 +173,7 @@ protected:
|
|||
|
||||
FPSCounter m_fps_counter;
|
||||
|
||||
static PostProcessingShaderImplementation* m_post_processor;
|
||||
static std::unique_ptr<PostProcessingShaderImplementation> m_post_processor;
|
||||
|
||||
private:
|
||||
static PEControl::PixelFormat prev_efb_format;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue