mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
SWVertexLoader: Value initialize SetupUnit instance
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user