summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/SamplerCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/OGL/SamplerCache.h')
-rw-r--r--Source/Core/VideoBackends/OGL/SamplerCache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/SamplerCache.h b/Source/Core/VideoBackends/OGL/SamplerCache.h
index a970fff8f8..ec469a81da 100644
--- a/Source/Core/VideoBackends/OGL/SamplerCache.h
+++ b/Source/Core/VideoBackends/OGL/SamplerCache.h
@@ -20,6 +20,8 @@ public:
void SetSamplerState(int stage, const TexMode0& tm0, const TexMode1& tm1, bool custom_tex);
void Clear();
+ void BindNearestSampler(int stage);
+ void BindLinearSampler(int stage);
private:
struct Params
@@ -73,6 +75,7 @@ private:
std::pair<Params, Value> m_active_samplers[8];
int m_last_max_anisotropy;
+ u32 m_sampler_id[2];
};
extern SamplerCache *g_sampler_cache;