X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=flavors%2Fgl%2Fsource%2Fbufferstate.h;h=18013a77dfb29445ee20271ada9543eaa6ca42f0;hb=90368e53a94c6fa68cb678a1a03a9da7bf0c7dd8;hp=bf0e1ec1050b9eb77bb396323537b8e3ef0eae3d;hpb=a832996c884a0e0acc9a38ba4dd258edb75ec7af;p=gldbg.git diff --git a/flavors/gl/source/bufferstate.h b/flavors/gl/source/bufferstate.h index bf0e1ec..18013a7 100644 --- a/flavors/gl/source/bufferstate.h +++ b/flavors/gl/source/bufferstate.h @@ -3,6 +3,7 @@ #include #include +#include "autoconstptr.h" #include "opengl.h" struct ArrayState; @@ -46,4 +47,13 @@ struct BufferState std::string describe() const; }; +struct BufferBindingState +{ + AutoConstPtr buffer; + unsigned offset; + unsigned size; + + BufferBindingState(); +}; + #endif