summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-07-27 13:30:54 +0200
committerLioncash <mathew1800@gmail.com>2021-07-27 13:30:57 +0200
commitf8964dd89a9464a7f5888301f1515b017293b568 (patch)
tree2b9da3e5338cbfefa9a3ecaed332d1cb576501b3
parentMerge pull request #6696 from ameerj/speed-limit-rename (diff)
downloadyuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar.gz
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar.bz2
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar.lz
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar.xz
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.tar.zst
yuzu-f8964dd89a9464a7f5888301f1515b017293b568.zip
-rw-r--r--src/video_core/engines/fermi_2d.h2
-rw-r--r--src/video_core/engines/maxwell_dma.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h
index a4170ffff..d76c5ed56 100644
--- a/src/video_core/engines/fermi_2d.h
+++ b/src/video_core/engines/fermi_2d.h
@@ -299,7 +299,7 @@ public:
};
private:
- VideoCore::RasterizerInterface* rasterizer;
+ VideoCore::RasterizerInterface* rasterizer = nullptr;
/// Performs the copy from the source surface to the destination surface as configured in the
/// registers.
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h
index d3329b0f8..9e457ae16 100644
--- a/src/video_core/engines/maxwell_dma.h
+++ b/src/video_core/engines/maxwell_dma.h
@@ -227,7 +227,7 @@ private:
Core::System& system;
MemoryManager& memory_manager;
- VideoCore::RasterizerInterface* rasterizer;
+ VideoCore::RasterizerInterface* rasterizer = nullptr;
std::vector<u8> read_buffer;
std::vector<u8> write_buffer;