-/* $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;
GLenum type;
bool normalized;
unsigned stride;
- BufferState *buffer;
+ AutoConstPtr<BufferState> buffer;
long pointer;
ArrayState();