DX9: Build fix. Also removed the Renderer::SetLineWidth implementation since it wasn't really useful.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6550 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX 2010-12-10 16:03:01 +00:00
parent 7473a0cf98
commit 01de16df1c
1 changed files with 0 additions and 3 deletions

View File

@ -1250,9 +1250,6 @@ void Renderer::SetDitherMode()
void Renderer::SetLineWidth() void Renderer::SetLineWidth()
{ {
// We can't change line width in D3D unless we use ID3DXLine // We can't change line width in D3D unless we use ID3DXLine
float fratio = xfregs.rawViewport[0] != 0 ? Renderer::GetTargetScaleX() : 1.0f;
float psize = bpmem.lineptwidth.linesize * fratio / 6.0f;
D3D::SetRenderState(D3DRS_POINTSIZE, *((DWORD*)&psize));
} }
void Renderer::SetSamplerState(int stage, int texindex) void Renderer::SetSamplerState(int stage, int texindex)