From 4bf18f63157926d97c1cb1e3af72c9715a3cee1b Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Sat, 24 Oct 2015 16:05:36 +0200 Subject: [PATCH] cubemap resolution must be explicitly specified --- src/dsosg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsosg.cpp b/src/dsosg.cpp index 30fbf1a..d85c33f 100644 --- a/src/dsosg.cpp +++ b/src/dsosg.cpp @@ -157,7 +157,7 @@ struct DSOSGResizedCallback : public osg::GraphicsContext::ResizedCallback { class CameraCube { public: - CameraCube(osg::Node* input_node, osg::Node* observer_node, Poco::Path shader_path, unsigned int tex_width=512, unsigned int tex_height=512) { + CameraCube(osg::Node* input_node, osg::Node* observer_node, Poco::Path shader_path, unsigned int tex_width, unsigned int tex_height) { _texture = new osg::TextureCubeMap; _top = new osg::Group; _top->addDescription("CameraCube top node");