mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-27 08:12:33 +00:00
warning fixes
This commit is contained in:
parent
10a1d00f80
commit
41b862c689
@ -437,7 +437,7 @@ void PGF::DrawCharacter(u32 base, int bpl, int bufWidth, int bufHeight, int x, i
|
||||
bitPtr += 4;
|
||||
|
||||
int count;
|
||||
int value;
|
||||
int value = 0;
|
||||
if (nibble < 8) {
|
||||
value = getBits(4, fontData, bitPtr);
|
||||
bitPtr += 4;
|
||||
|
@ -408,10 +408,12 @@ void GenerateVertexShader(int prim, char *buffer) {
|
||||
break;
|
||||
}
|
||||
if (flipV)
|
||||
{
|
||||
if (gstate.isModeThrough())
|
||||
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y;\n");
|
||||
else
|
||||
WRITE(p, " v_texcoord.y = 1.0 - v_texcoord.y * 2.0;\n");
|
||||
}
|
||||
}
|
||||
|
||||
// Compute fogdepth
|
||||
|
Loading…
x
Reference in New Issue
Block a user