Skip to content

Commit

Permalink
cubemap resolution must be explicitly specified
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Oct 24, 2015
1 parent 4dd4d4c commit 4bf18f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsosg.cpp
Expand Up @@ -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");

Expand Down

0 comments on commit 4bf18f6

Please sign in to comment.