mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VertexLoaderUID: remove global state dependency
This commit is contained in:
parent
e91db62f1b
commit
20369743a4
2 changed files with 7 additions and 8 deletions
|
@ -104,8 +104,7 @@ static VertexLoader* RefreshLoader(int vtx_attr_group)
|
|||
{
|
||||
if ((s_attr_dirty >> vtx_attr_group) & 1)
|
||||
{
|
||||
VertexLoaderUID uid;
|
||||
uid.InitFromCurrentState(vtx_attr_group);
|
||||
VertexLoaderUID uid(g_VtxDesc, g_VtxAttr[vtx_attr_group]);
|
||||
VertexLoaderMap::iterator iter = g_VertexLoaderMap.find(uid);
|
||||
if (iter != g_VertexLoaderMap.end())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue