]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturing.h
Replace Texturing::Attachment with a simple Texture pointer
[libs/gl.git] / source / texturing.h
index daeb2bb812d7bfe62331951070a9fb4977d18490..34141c64136fb4d4d0dac7dfbdc90e76cbad6ba0 100644 (file)
@@ -12,14 +12,7 @@ class Texture;
 class Texturing: public Bindable<Texturing>
 {
 private:
-       struct Attachment
-       {
-               const Texture *tex;
-
-               Attachment();
-       };
-
-       std::vector<Attachment> attachments;
+       std::vector<const Texture *> attachments;
 
 public:
        ~Texturing();