mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Avoid some operator overloads.
Causing ambiguity.
This commit is contained in:
1 parent
018d95180a
commit
dfadb67ea1
3 files changed
+3
-21
No files matched your search
@@ -572,7 +572,7 @@ static inline Vec4<int> GetTextureFunctionOutput(const Vec3<int>& prim_color_rgb
|
||||
{
|
||||
int t = (rgba) ? texcolor.a() : 255;
|
||||
int invt = (rgba) ? 255 - t : 0;
|
||||
out_rgb = (invt * prim_color_rgb + t * texcolor.rgb()) / 255;
|
||||
out_rgb = (prim_color_rgb * invt + texcolor.rgb() * t) / 255;
|
||||
out_a = prim_color_a;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user