Remove unnecessary Device forwarding.

This commit is contained in:
Corentin Wallez
2017-06-27 11:10:29 -04:00
committed by Corentin Wallez
parent 59d55dc3ac
commit 2dd73fbc1d
22 changed files with 90 additions and 135 deletions

View File

@@ -26,12 +26,11 @@ namespace opengl {
class Sampler : public SamplerBase {
public:
Sampler(Device* device, SamplerBuilder* builder);
Sampler(SamplerBuilder* builder);
GLuint GetHandle() const;
private:
Device* device;
GLuint handle;
};