Silence some Windows compiler warnings

by adding explicit type casts.
This commit is contained in:
Tillmann Karras
2014-02-16 16:59:26 +01:00
parent 1e94853301
commit 0d6ab2c658
3 changed files with 11 additions and 11 deletions

View File

@ -163,8 +163,8 @@ namespace HwRasterizer
// While GLES uses texture coordinates
if (GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGL)
{
width = texUnit.texImage0[0].width;
height = texUnit.texImage0[0].height;
width = (float)texUnit.texImage0[0].width;
height = (float)texUnit.texImage0[0].height;
}
else
{