Skip some conversion warnings.

This commit is contained in:
Unknown W. Brackets committed 2014-08-24 01:25:59 -07:00
1 parent e141280f8d
commit c141c368fc
1 file changed
+4 -4
+4 -4
View File
@@ -608,10 +608,10 @@ void Thin3DDX9Context::SetScissorRect(int left, int top, int width, int height)
void Thin3DDX9Context::SetViewports(int count, T3DViewport *viewports) {
D3DVIEWPORT9 vp;
vp.X = viewports[0].TopLeftX;
vp.Y = viewports[0].TopLeftY;
vp.Width = viewports[0].Width;
vp.Height = viewports[0].Height;
vp.X = (DWORD)viewports[0].TopLeftX;
vp.Y = (DWORD)viewports[0].TopLeftY;
vp.Width = (DWORD)viewports[0].Width;
vp.Height = (DWORD)viewports[0].Height;
vp.MinZ = viewports[0].MinDepth;
vp.MaxZ = viewports[0].MaxDepth;
device_->SetViewport(&vp);