In demo/ someone can "steal" the renderer part which, being based on SDL, is to some extent cross-platform.