X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturing.h;h=daeb2bb812d7bfe62331951070a9fb4977d18490;hb=f1b12c992db974c679d85ae6ec22cd318199d0d5;hp=c51782bbf237959558af379998d5f4bab504d962;hpb=abc16c5ab0fff0945d724febe9d5d3889fb8a6ce;p=libs%2Fgl.git diff --git a/source/texturing.h b/source/texturing.h index c51782bb..daeb2bb8 100644 --- a/source/texturing.h +++ b/source/texturing.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_TEXTURING_H_ #define MSP_GL_TEXTURING_H_ @@ -14,7 +7,6 @@ Distributed under the LGPL namespace Msp { namespace GL { -class TexEnv; class Texture; class Texturing: public Bindable @@ -23,7 +15,6 @@ private: struct Attachment { const Texture *tex; - const TexEnv *env; Attachment(); }; @@ -34,10 +25,9 @@ public: ~Texturing(); void attach(unsigned, const Texture &); - void attach(unsigned, const Texture &, const TexEnv &); void detach(unsigned); private: - void set_attachment(unsigned, const Texture *, const TexEnv *); + void set_attachment(unsigned, const Texture *); void bind_attachment(unsigned) const; static void unbind_attachment(unsigned);