Merge pull request #6748 from lioncash/engine-init

video_core/engine: Consistently initialize rasterizer pointers
This commit is contained in:
Rodrigo Locatti 2021-07-27 16:17:20 -03:00 committed by GitHub
commit ab206d6378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ public:
}; };
private: private:
VideoCore::RasterizerInterface* rasterizer; VideoCore::RasterizerInterface* rasterizer = nullptr;
/// Performs the copy from the source surface to the destination surface as configured in the /// Performs the copy from the source surface to the destination surface as configured in the
/// registers. /// registers.

View File

@ -227,7 +227,7 @@ private:
Core::System& system; Core::System& system;
MemoryManager& memory_manager; MemoryManager& memory_manager;
VideoCore::RasterizerInterface* rasterizer; VideoCore::RasterizerInterface* rasterizer = nullptr;
std::vector<u8> read_buffer; std::vector<u8> read_buffer;
std::vector<u8> write_buffer; std::vector<u8> write_buffer;