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