X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=flavors%2Fgl%2Fsource%2Farraystate.h;h=c1bd0189f34804f518ac964e1b1c440ce4370d21;hb=bc201c7dd5ebef9c0db1142387715c7ad4d53b62;hp=d7552973238eab8f2878b8589795e2fc0672d0f2;hpb=f53057ce9b5eb3c7256a4aca95b4944733e14503;p=gldbg.git diff --git a/flavors/gl/source/arraystate.h b/flavors/gl/source/arraystate.h index d755297..c1bd018 100644 --- a/flavors/gl/source/arraystate.h +++ b/flavors/gl/source/arraystate.h @@ -1,13 +1,8 @@ -/* $Id$ - -This file is part of gldbg -Copyright © 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the GPL -*/ - #ifndef ARRAYSTATE_H_ #define ARRAYSTATE_H_ +#include +#include "autoconstptr.h" #include "opengl.h" struct BufferState; @@ -21,11 +16,12 @@ struct ArrayState GLenum type; bool normalized; unsigned stride; - BufferState *buffer; + AutoConstPtr buffer; long pointer; ArrayState(); void set(unsigned, GLenum, bool, unsigned, BufferState *, long); + std::string describe() const; }; #endif