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

PixelShaderGen: Color combiner compare mode fix and simplification #276

Merged
merged 1 commit into from Apr 15, 2014

Conversation

neobrain
Copy link
Member

Changed int3(255,255,255) to int3(1,1,1) and removed the redundant max().

Fixes issue 7178.

…plify the affected line a bit.

This was a mistake of mine when translating floating point values to integer values.
Also, the max() part of that line was just completely redundant because the sign of an absolute value is always greater than or equal to zero.

Fixes issue 7178.
@neobrain
Copy link
Member Author

This is basically a nobrainer to merge, unless I messed up the number of closing brackets again...

@Parlane
Copy link
Member

Parlane commented Apr 15, 2014

LGTM

@magumagu
Copy link
Contributor

I tested it, you didn't mess up the brackets. 😄

LGTM.

Parlane added a commit that referenced this pull request Apr 15, 2014
PixelShaderGen: Color combiner compare mode fix and simplification
@Parlane Parlane merged commit 1f0da63 into dolphin-emu:master Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants