diff options
| author | 2020-06-11 21:24:45 -0300 | |
|---|---|---|
| committer | 2020-09-06 05:28:48 -0300 | |
| commit | 9e871937250cb92a13336c6c06186c41f19e1738 (patch) | |
| tree | 5151b85f8c4c26e7a5971b32584723f9910ea67b /src/yuzu_tester/yuzu.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/yuzu_tester/yuzu.cpp')
| -rw-r--r-- | src/yuzu_tester/yuzu.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 7acf0caad..5798ce43a 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp | |||
| @@ -255,7 +255,6 @@ int main(int argc, char** argv) { | |||
| 255 | "SDLHideTester"); | 255 | "SDLHideTester"); |
| 256 | 256 | ||
| 257 | system.GPU().Start(); | 257 | system.GPU().Start(); |
| 258 | system.Renderer().Rasterizer().LoadDiskResources(); | ||
| 259 | 258 | ||
| 260 | system.Run(); | 259 | system.Run(); |
| 261 | while (!finished) { | 260 | while (!finished) { |