mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
d3d12: Fix some warnings
This commit is contained in:
parent
9abaf80099
commit
646c908a93
2 changed files with 5 additions and 5 deletions
|
@ -319,7 +319,7 @@ void D3D12GSRender::ExecCMD()
|
|||
|
||||
assert((m_draw_array_first + m_draw_array_count) * item_size <= vertexBufferSize[i]);
|
||||
}
|
||||
commandList->IASetVertexBuffers(0, vertexBufferViews.size(), vertexBufferViews.data());
|
||||
commandList->IASetVertexBuffers(0, (UINT)vertexBufferViews.size(), vertexBufferViews.data());
|
||||
// InitVertexData();
|
||||
// InitFragmentData();
|
||||
}
|
||||
|
@ -358,8 +358,8 @@ void D3D12GSRender::ExecCMD()
|
|||
{
|
||||
0.f,
|
||||
0.f,
|
||||
RSXThread::m_width,
|
||||
RSXThread::m_height,
|
||||
(float)RSXThread::m_width,
|
||||
(float)RSXThread::m_height,
|
||||
-1.f,
|
||||
1.f
|
||||
};
|
||||
|
@ -367,7 +367,7 @@ void D3D12GSRender::ExecCMD()
|
|||
D3D12_RECT box =
|
||||
{
|
||||
0, 0,
|
||||
RSXThread::m_width, RSXThread::m_height,
|
||||
(LONG)RSXThread::m_width, (LONG)RSXThread::m_height,
|
||||
};
|
||||
commandList->RSSetScissorRects(1, &box);
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ void SetGetD3DGSFrameCallback(GetGSFrameCb2 value);
|
|||
class D3D12GSRender : public GSRender
|
||||
{
|
||||
private:
|
||||
u32 vertexBufferSize[32];
|
||||
size_t vertexBufferSize[32];
|
||||
std::vector<u8> m_vdata;
|
||||
// std::vector<PostDrawObj> m_post_draw_objs;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue