mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Minor sampler cache cleanup.
This commit is contained in:
parent
eae20b77a8
commit
e7c93b8ac3
2 changed files with 9 additions and 17 deletions
|
@ -59,15 +59,13 @@ private:
|
|||
{
|
||||
Value()
|
||||
: sampler_id()
|
||||
// , last_frame_used()
|
||||
{}
|
||||
|
||||
GLuint sampler_id;
|
||||
//int last_frame_used;
|
||||
};
|
||||
|
||||
void SetParameters(GLuint sampler_id, const Params& params);
|
||||
std::pair<Params, Value> GetEntry(const Params& params);
|
||||
Value& GetEntry(const Params& params);
|
||||
|
||||
std::map<Params, Value> m_cache;
|
||||
std::pair<Params, Value> m_active_samplers[8];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue