warning fixes

This commit is contained in:
Henrik Rydgard committed 2013-03-22 19:59:16 +01:00
1 parent 10a1d00f80
commit 41b862c689
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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;
+2
View File
@@ -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