X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=flavors%2Fgl%2Fsource%2Farraystate.h;h=c1bd0189f34804f518ac964e1b1c440ce4370d21;hb=bc201c7dd5ebef9c0db1142387715c7ad4d53b62;hp=af4abd442d88bc46ce0cd7960d4f22f2074e28c6;hpb=a832996c884a0e0acc9a38ba4dd258edb75ec7af;p=gldbg.git diff --git a/flavors/gl/source/arraystate.h b/flavors/gl/source/arraystate.h index af4abd4..c1bd018 100644 --- a/flavors/gl/source/arraystate.h +++ b/flavors/gl/source/arraystate.h @@ -1,6 +1,8 @@ #ifndef ARRAYSTATE_H_ #define ARRAYSTATE_H_ +#include +#include "autoconstptr.h" #include "opengl.h" struct BufferState; @@ -14,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