Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoCommon/TextureCacheBase: Remove use of the texture cache global in interface #8295

Merged
merged 3 commits into from
Aug 5, 2019

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Aug 5, 2019

There's no need to use the texture cache global within the actual texture cache interface itself. We can just call the relevant function directly. While we're at it, we can also do some minor cleanup.

We can just call the functions that are part of the interface instead of
using the global in order to execute those functions.
Copy link
Contributor

@stenzek stenzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stenzek stenzek merged commit 161a43d into dolphin-emu:master Aug 5, 2019
@lioncash lioncash deleted the tex-cache-global branch August 5, 2019 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants