mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fix Windows build, try 1.
This commit is contained in:
@ -36,7 +36,6 @@ private:
|
||||
LPDIRECT3DVERTEXSHADER9 shader;
|
||||
|
||||
std::string code;
|
||||
VERTEXSHADERUIDSAFE safe_uid;
|
||||
|
||||
VSCacheEntry() : shader(NULL) {}
|
||||
void Destroy()
|
||||
@ -47,11 +46,11 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::map<VERTEXSHADERUID, VSCacheEntry> VSCache;
|
||||
typedef std::map<VertexShaderUid, VSCacheEntry> VSCache;
|
||||
|
||||
static VSCache vshaders;
|
||||
static const VSCacheEntry *last_entry;
|
||||
static VERTEXSHADERUID last_uid;
|
||||
static VertexShaderUid last_uid;
|
||||
static void Clear();
|
||||
|
||||
public:
|
||||
@ -60,7 +59,7 @@ public:
|
||||
static bool SetShader(u32 components);
|
||||
static LPDIRECT3DVERTEXSHADER9 GetSimpleVertexShader(int level);
|
||||
static LPDIRECT3DVERTEXSHADER9 GetClearVertexShader();
|
||||
static bool InsertByteCode(const VERTEXSHADERUID &uid, const u8 *bytecode, int bytecodelen, bool activate);
|
||||
static bool InsertByteCode(const VertexShaderUid &uid, const u8 *bytecode, int bytecodelen, bool activate);
|
||||
|
||||
static std::string GetCurrentShaderCode();
|
||||
};
|
||||
|
Reference in New Issue
Block a user