-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "misc.h"
namespace Msp {
disable(state);
}
+void get(GLenum state, int *data)
+{
+ glGetIntegerv(state, data);
+}
+
+int get_i(GLenum state)
+{
+ int data;
+ get(state, &data);
+ return data;
+}
+
} // namespace GL
} // namespace Msp