diff options
| author | 2020-06-11 21:24:45 -0300 | |
|---|---|---|
| committer | 2020-09-06 05:28:48 -0300 | |
| commit | 9e871937250cb92a13336c6c06186c41f19e1738 (patch) | |
| tree | 5151b85f8c4c26e7a5971b32584723f9910ea67b /src/core/core.cpp | |
| parent | Merge pull request #4596 from FearlessTobi/port-5495 (diff) | |
| download | yuzu-9e871937250cb92a13336c6c06186c41f19e1738.tar.gz yuzu-9e871937250cb92a13336c6c06186c41f19e1738.tar.xz yuzu-9e871937250cb92a13336c6c06186c41f19e1738.zip | |
video_core: Remove all Core::System references in renderer
Now that the GPU is initialized when video backends are initialized,
it's no longer needed to query components once the game is running: it
can be done when yuzu is booting.
This allows us to pass components between constructors and in the
process remove all Core::System references in the video backend.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index c2c0eec0b..df81e8e2c 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -188,7 +188,6 @@ struct System::Impl { | |||
| 188 | if (!gpu_core) { | 188 | if (!gpu_core) { |
| 189 | return ResultStatus::ErrorVideoCore; | 189 | return ResultStatus::ErrorVideoCore; |
| 190 | } | 190 | } |
| 191 | gpu_core->Renderer().Rasterizer().SetupDirtyFlags(); | ||
| 192 | 191 | ||
| 193 | is_powered_on = true; | 192 | is_powered_on = true; |
| 194 | exit_lock = false; | 193 | exit_lock = false; |