mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-04 10:29:15 +01:00
[d3d8] Don't forward D3DRS_LINEPATTERN changes to d3d9
This commit is contained in:
parent
20b047600f
commit
0983ab1f39
@ -1588,12 +1588,11 @@ namespace dxvk {
|
||||
default:
|
||||
break;
|
||||
|
||||
// TODO: D3DRS_LINEPATTERN - vkCmdSetLineRasterizationModeEXT
|
||||
case D3DRS_LINEPATTERN: {
|
||||
[[maybe_unused]]
|
||||
D3DLINEPATTERN pattern = bit::cast<D3DLINEPATTERN>(Value);
|
||||
stateChange = false;
|
||||
} break;
|
||||
// TODO: Implement D3DRS_LINEPATTERN - vkCmdSetLineRasterizationModeEXT
|
||||
case D3DRS_LINEPATTERN:
|
||||
Logger::warn("D3D8Device::SetRenderState: Unimplemented render state D3DRS_LINEPATTERN");
|
||||
m_linePattern = bit::cast<D3DLINEPATTERN>(Value);
|
||||
return D3D_OK;
|
||||
|
||||
// Not supported by D3D8.
|
||||
case D3DRS_ZVISIBLE:
|
||||
@ -1653,9 +1652,9 @@ namespace dxvk {
|
||||
default:
|
||||
break;
|
||||
|
||||
// TODO: D3DRS_LINEPATTERN
|
||||
case D3DRS_LINEPATTERN:
|
||||
break;
|
||||
*pValue = bit::cast<DWORD>(m_linePattern);
|
||||
return D3D_OK;
|
||||
|
||||
// Not supported by D3D8.
|
||||
case D3DRS_ZVISIBLE:
|
||||
|
@ -426,6 +426,8 @@ namespace dxvk {
|
||||
|
||||
D3DPRESENT_PARAMETERS m_presentParams;
|
||||
|
||||
D3DLINEPATTERN m_linePattern = {};
|
||||
|
||||
D3D8StateBlock* m_recorder = nullptr;
|
||||
DWORD m_recorderToken = 0;
|
||||
DWORD m_token = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user