mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-03 06:06:35 +00:00
Fix a warning.
I want to keep the default missing for warnings.
This commit is contained in:
parent
58ff826b73
commit
5538452e2a
@ -105,7 +105,7 @@ GLuint FragmentTestCache::CreateTestTexture(const GEComparison funcs[4], const u
|
||||
// Build the logic map.
|
||||
for (int color = 0; color < 256; ++color) {
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
bool res;
|
||||
bool res = true;
|
||||
if (valid[i]) {
|
||||
switch (funcs[i]) {
|
||||
case GE_COMP_NEVER:
|
||||
@ -133,8 +133,6 @@ GLuint FragmentTestCache::CreateTestTexture(const GEComparison funcs[4], const u
|
||||
res = (color & masks[i]) >= (refs[i] & masks[i]);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
res = true;
|
||||
}
|
||||
scratchpad_[color * 4 + i] = res ? 0xFF : 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user