mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
Added point size emulation to DX9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@587 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7c3f715f19
commit
ae948f1a23
1 changed files with 7 additions and 3 deletions
|
@ -226,9 +226,13 @@ void BPWritten(int addr, int changes, int newval)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BPMEM_LINEPTWIDTH:
|
case BPMEM_LINEPTWIDTH:
|
||||||
// We can't change line width in D3D. However, we can change point size. TODO
|
{
|
||||||
//bpmem.lineptwidth.pointsize);
|
// We can't change line width in D3D unless we use ID3DXLine
|
||||||
//bpmem.lineptwidth.linesize);
|
//bpmem.lineptwidth.linesize);
|
||||||
|
float psize = float(bpmem.lineptwidth.pointsize) * 6.0f;
|
||||||
|
|
||||||
|
Renderer::SetRenderState(D3DRS_POINTSIZE, *((DWORD*)&psize));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x43:
|
case 0x43:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue