summaryrefslogtreecommitdiffstats
path: root/libs/rs/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
commit5dbfe93b3f15f3a837836d024958635fd8f9ad14 (patch)
tree7a86155c3054d0b7fe0d655e2f2dd21754b05330 /libs/rs/rsSampler.h
parent445cc0e4bfd5b9460fb1cdccd22d8d54a49e5da1 (diff)
downloadframeworks_base-5dbfe93b3f15f3a837836d024958635fd8f9ad14.zip
frameworks_base-5dbfe93b3f15f3a837836d024958635fd8f9ad14.tar.gz
frameworks_base-5dbfe93b3f15f3a837836d024958635fd8f9ad14.tar.bz2
Fix some minor bugs with GL state setup that were exposed by Droids driver.
Diffstat (limited to 'libs/rs/rsSampler.h')
-rw-r--r--libs/rs/rsSampler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsSampler.h b/libs/rs/rsSampler.h
index ccf9b4d..9e20a2f 100644
--- a/libs/rs/rsSampler.h
+++ b/libs/rs/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();
};