summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorMarcus Wanners <marcus@wanners.net>2009-03-05 15:16:50 +0000
committerMarcus Wanners <marcus@wanners.net>2009-03-05 15:16:50 +0000
commit432ea89b49b59b5b19b3c4ba579599d78ef278e7 (patch)
tree4ae6b6e1b1ce244b16d18e371e4f2e11a916864a /Source/Core/VideoCommon/Src/PixelShaderGen.cpp
parentcb121dab6696bf31a85d80dc824c0a390bb8ef79 (diff)
Compiler Warnings: Mismatch edition. Also fixed some conversion warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2557 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
index 23a1d57aca..28fc58ac0a 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
@@ -581,7 +581,7 @@ static void WriteStage(char *&p, int n, u32 texture_mask)
int texcoord = bpmem.tevorders[n/2].getTexCoord(n&1);
int texfun = xfregs.texcoords[texcoord].texmtxinfo.projection;
- bool bHasTexCoord = texcoord < bpmem.genMode.numtexgens;
+ bool bHasTexCoord = unsigned int(texcoord) < bpmem.genMode.numtexgens;
bool bHasIndStage = bpmem.tevind[n].IsActive() && bpmem.tevind[n].bt < bpmem.genMode.numindstages;
// HACK to handle cases where the tex gen is not enabled