X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderable.h;h=80fe172eb7435b44f147d4324294b6c72b5d5fd2;hb=8468279a03d906f79fb6158162c7970d4d7fff60;hp=6e1505ca5a728c0ac1b012eb797cf00c84321ff4;hpb=02343325a49437532a6b263b1c5453cc6e51b71b;p=libs%2Fgl.git diff --git a/source/renderable.h b/source/renderable.h index 6e1505ca..80fe172e 100644 --- a/source/renderable.h +++ b/source/renderable.h @@ -2,6 +2,7 @@ #define MSP_GL_RENDERABLE_H_ #include +#include #include #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