mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
SWVertexLoader: Value initialize SetupUnit instance
This commit is contained in:
parent
331b112816
commit
a8c8dd0c53
2 changed files with 7 additions and 15 deletions
|
@ -4,19 +4,16 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "VideoBackends/Software/NativeVertexFormat.h"
|
||||
#include "VideoBackends/Software/SetupUnit.h"
|
||||
|
||||
#include "VideoCommon/VertexLoaderBase.h"
|
||||
#include "VideoCommon/VertexManagerBase.h"
|
||||
|
||||
class SetupUnit;
|
||||
|
||||
class SWVertexLoader : public VertexManagerBase
|
||||
{
|
||||
public:
|
||||
|
@ -37,7 +34,7 @@ private:
|
|||
|
||||
void ParseVertex(const PortableVertexDeclaration& vdec, int index);
|
||||
|
||||
SetupUnit* m_SetupUnit;
|
||||
SetupUnit m_SetupUnit;
|
||||
|
||||
bool m_TexGenSpecialCase;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue