mirror of https://github.com/PCSX2/pcsx2.git
GSdx-debug: Do some casts and fix warnings.
This commit is contained in:
parent
bf0106d2bc
commit
5527bcb13e
|
@ -118,7 +118,7 @@ GIFRegTEX0 GSDrawingContext::GetSizeFixedTEX0(int s_n, const GSVector4& st, bool
|
|||
}
|
||||
|
||||
#if defined(_DEBUG) && 1
|
||||
if(TEX0.TW != tw || TEX0.TH != th)
|
||||
if((int)TEX0.TW != tw || (int)TEX0.TH != th)
|
||||
{
|
||||
printf("%5d:FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)\n",
|
||||
s_n,
|
||||
|
|
|
@ -1229,7 +1229,7 @@ void GSDevice11::PSSetShaderResource(int i, GSTexture* sr)
|
|||
|
||||
void GSDevice11::PSSetShaderResourceView(int i, ID3D11ShaderResourceView* srv, GSTexture* sr)
|
||||
{
|
||||
ASSERT(i < m_state.ps_sr_views.size());
|
||||
ASSERT(i < (int)m_state.ps_sr_views.size());
|
||||
|
||||
if(m_state.ps_sr_views[i] != srv)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue