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

VideoBackend: remove unused config vars. #235

Merged
merged 1 commit into from Apr 11, 2014

Conversation

magumagu
Copy link
Contributor

No point to keeping around variables which are always "true".

@@ -468,7 +468,7 @@ static TextureCache::TCacheEntryBase* ReturnEntry(unsigned int stage, TextureCac
if (!(texformat == GX_TF_RGBA8 && from_tmem))
{
pcfmt = TexDecoder_Decode(temp, src_data, expandedWidth,
expandedHeight, texformat, tlutaddr, tlutfmt, g_ActiveConfig.backend_info.bUseRGBATextures);
expandedHeight, texformat, tlutaddr, tlutfmt, true);

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@magumagu
Copy link
Contributor Author

magumagu commented Apr 4, 2014

Updated version; per comments, leaves bUseRGBATextures intact for the moment.

@Sonicadvance1
Copy link
Contributor

LGTM

@@ -154,9 +154,6 @@ class VideoConfigDiag : public wxDialog
choice_aamode->Enable(vconfig.backend_info.AAModes.size() > 1);
text_aamode->Enable(vconfig.backend_info.AAModes.size() > 1);

// pixel lighting
pixel_lighting->Enable(vconfig.backend_info.bSupportsPixelLighting);

This comment was marked as off-topic.

@neobrain
Copy link
Member

LGTM once the two variables I pointed at are un-membered.

No point to keeping around variables which are always "true".
@magumagu
Copy link
Contributor Author

Removed member variables as requested.

neobrain added a commit that referenced this pull request Apr 11, 2014
VideoBackend: Remove unused config variables.
@neobrain neobrain merged commit b106dbc into dolphin-emu:master Apr 11, 2014
@magumagu magumagu deleted the videobackend-unused-config branch April 11, 2014 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants