mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
D3D: minor vs constant-setting optimization, remove a stupid memcpy that doesn't do anything, don't see much benefit though :/ At least the PIX logs will be cleaner.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4301 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0d9543030b
commit
dae1a68bfc
9 changed files with 81 additions and 30 deletions
|
@ -162,7 +162,7 @@ void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
|
|||
void D3DVertexFormat::SetupVertexPointers() const
|
||||
{
|
||||
if (d3d_decl)
|
||||
D3D::dev->SetVertexDeclaration(d3d_decl);
|
||||
D3D::SetVertexDeclaration(d3d_decl);
|
||||
else
|
||||
ERROR_LOG(VIDEO, "invalid d3d decl");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue