mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
this should solve issue 2128 please test because i don't have the games mentioned in that issue
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4954 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fe10a1b5b0
commit
dbfdcc263b
@ -1100,7 +1100,8 @@ void Renderer::SetDitherMode()
|
||||
void Renderer::SetLineWidth()
|
||||
{
|
||||
// We can't change line width in D3D unless we use ID3DXLine
|
||||
float psize = float(bpmem.lineptwidth.pointsize) * 6.0f;
|
||||
float fratio = xfregs.rawViewport[0] != 0 ? Renderer::GetTargetScaleX() : 1.0f;
|
||||
float psize = bpmem.lineptwidth.linesize * fratio / 6.0f;
|
||||
D3D::SetRenderState(D3DRS_POINTSIZE, *((DWORD*)&psize));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user