]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderable.h
Change the return type of Renderable::get_instance_key to IntPtr
[libs/gl.git] / source / renderable.h
index 6e1505ca5a728c0ac1b012eb797cf00c84321ff4..80fe172eb7435b44f147d4324294b6c72b5d5fd2 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GL_RENDERABLE_H_
 
 #include <string>
+#include <msp/core/inttypes.h>
 #include <msp/geometry/boundingsphere.h>
 #include "tag.h"
 
@@ -34,7 +35,7 @@ public:
 
        /** Returns a key used for grouping Renderables in an InstanceScene.  The
        returned value is treated as opaque. */
-       virtual long get_instance_key() const { return 0; }
+       virtual IntPtr get_instance_key() const { return 0; }
 
        /** Returns the model matrix of the Renderable.  Null is returned if no such
        matrix exists.  The matrix should be in world space for some effects to work