This should fix the bugs introduced by my last commit please retest the games that where showing graphical glitches.

This commit is contained in:
rodolfoosvaldobogado
2012-11-10 11:37:08 -03:00
parent ee72852491
commit 53b62ab169
3 changed files with 29 additions and 11 deletions

View File

@ -238,7 +238,7 @@ int CD3DFont::DrawTextScaled(float x, float y, float fXScale, float fYScale, flo
return 0;
SetRenderStates();
D3D::SetStreamSource(0, m_pVB, 0, sizeof(FONT2DVERTEX));
D3D::ChangeStreamSource(0, m_pVB, 0, sizeof(FONT2DVERTEX));
float vpWidth = 1;
float vpHeight = 1;