--- /dev/null
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2011 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#include <msp/core/except.h>
+#include "renderable.h"
+#include "renderer.h"
+
+namespace Msp {
+namespace GL {
+
+void Renderable::render(const Tag &) const
+{
+ throw Exception("This Renderable doesn't support rendering without a Renderer");
+}
+
+void Renderable::render(Renderer &renderer, const Tag &tag) const
+{
+ renderer.escape();
+ render(tag);
+}
+
+} // namespace Msp
+} // namespace GL