summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2021-07-27 16:17:20 -0300
committerGravatar GitHub2021-07-27 16:17:20 -0300
commitab206d637895fba279449bf8ae038c5ad654d21e (patch)
treecb71ea0475ca5bd1e6818956d062209f6b79940c /src
parentMerge pull request #6744 from lioncash/exc (diff)
parentvideo_core/engine: Consistently initialize rasterizer pointers (diff)
downloadyuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.gz
yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.xz
yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.zip
Merge pull request #6748 from lioncash/engine-init
video_core/engine: Consistently initialize rasterizer pointers
Diffstat (limited to 'src')
-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:
299 }; 299 };
300 300
301private: 301private:
302 VideoCore::RasterizerInterface* rasterizer; 302 VideoCore::RasterizerInterface* rasterizer = nullptr;
303 303
304 /// Performs the copy from the source surface to the destination surface as configured in the 304 /// Performs the copy from the source surface to the destination surface as configured in the
305 /// registers. 305 /// 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:
227 Core::System& system; 227 Core::System& system;
228 228
229 MemoryManager& memory_manager; 229 MemoryManager& memory_manager;
230 VideoCore::RasterizerInterface* rasterizer; 230 VideoCore::RasterizerInterface* rasterizer = nullptr;
231 231
232 std::vector<u8> read_buffer; 232 std::vector<u8> read_buffer;
233 std::vector<u8> write_buffer; 233 std::vector<u8> write_buffer;