summaryrefslogtreecommitdiff
path: root/rsSampler.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-01-27 14:41:43 -0800
committerJason Sams <rjsams@android.com>2010-01-27 14:41:43 -0800
commit3eb28f07ab726a2e73063b95729abc191103b432 (patch)
tree3654b1254e6afe9995c88039a846f9d85e0efb6e /rsSampler.h
parent3bce7891a1b1729f76714db08cd3cd79b91d7942 (diff)
downloadrs-3eb28f07ab726a2e73063b95729abc191103b432.tar.gz
Fix some minor bugs with GL state setup that were exposed by Droids driver.
Diffstat (limited to 'rsSampler.h')
-rw-r--r--rsSampler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsSampler.h b/rsSampler.h
index ccf9b4da..9e20a2fc 100644
--- a/rsSampler.h
+++ b/rsSampler.h
@@ -41,7 +41,7 @@ public:
virtual ~Sampler();
void bind(Allocation *);
- void setupGL();
+ void setupGL(const Context *);
void bindToContext(SamplerState *, uint32_t slot);
void unbindFromContext(SamplerState *);
@@ -74,7 +74,7 @@ public:
ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
- void setupGL();
+ //void setupGL();
};