diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2021-07-27 21:17:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 21:17:20 +0200 |
commit | ab206d637895fba279449bf8ae038c5ad654d21e (patch) | |
tree | cb71ea0475ca5bd1e6818956d062209f6b79940c /src/video_core | |
parent | Merge pull request #6744 from lioncash/exc (diff) | |
parent | video_core/engine: Consistently initialize rasterizer pointers (diff) | |
download | yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.gz yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.bz2 yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.lz yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.xz yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.tar.zst yuzu-ab206d637895fba279449bf8ae038c5ad654d21e.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/engines/fermi_2d.h | 2 | ||||
-rw-r--r-- | src/video_core/engines/maxwell_dma.h | 2 |
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; |