X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderer.h;h=501d1db3159667c42f92f3ecdfe2e85cb28fc1c4;hb=c21d4de686e7abd51b0a779af00f06ce459e18d6;hp=d8ace373805e9b85f905033d01a449709af11cf9;hpb=635d00bc1a9ba43ef1224681a14d0710a098cf87;p=libs%2Fgl.git diff --git a/source/renderer.h b/source/renderer.h index d8ace373..501d1db3 100644 --- a/source/renderer.h +++ b/source/renderer.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_RENDERER_H_ #define MSP_GL_RENDERER_H_ @@ -53,6 +46,7 @@ private: const Material *material; const Program *shprog; std::vector shdata; + const WindingTest *winding_test; State(); }; @@ -76,7 +70,7 @@ private: const VertexArray *vertex_array; bool vertex_array_changed; const Buffer *element_buffer; - const WindingTest *winding_test; + bool shdata_changed; public: Renderer(const Camera *);