mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-10 17:02:47 +01:00
video_core/engine: Consistently initialize rasterizer pointers
Ensures all of the engines have consistent and deterministic initialization of the rasterizer pointers.
This commit is contained in:
parent
d6c799494c
commit
f8964dd89a
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue