]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.cpp
Drop Id tags and copyright notices from files
[libs/gl.git] / source / misc.cpp
index 70b300a661783e5398b3ca891a6b646b3ceeae87..aca3df0f700af7b500f0aa2dba239865e84ab675 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "misc.h"
 
 namespace Msp {
@@ -33,10 +26,15 @@ void get(GLenum state, int &data)
        glGetIntegerv(state, &data);
 }
 
+void get(GLenum state, int *data)
+{
+       glGetIntegerv(state, data);
+}
+
 int get_i(GLenum state)
 {
        int data;
-       get(state, data);
+       get(state, &data);
        return data;
 }