summaryrefslogtreecommitdiff
path: root/vcl/opengl/gdiimpl.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-09-24 20:32:47 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-09-24 20:41:40 +0200
commitb4cf40e52f220f4d934468c8b99e2509ebc1a549 (patch)
tree7863cd0056265bc5c7d04d547833d1b4fbfc9f6e /vcl/opengl/gdiimpl.cxx
parent7ac5ccde2d7332b926df509d840f775a65d0c9dd (diff)
scenegraph: shared_ptr, findByName, SceneGraphFactoryfeature/sgexperiment
The change includes: * Use shared_ptr for the child nodes. * Every node can have a name and we can search for the node with findByName. * SceneGraphFactory class for easier initial construction of the scene graph. * RootNode has been removed as we can just use a simple empty Node with type ROOT. Change-Id: I7bee98cff6b46abb5c6baef25fc6f9bc084d4073
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 4301b1c9d447..56b57c9bd874 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -2208,7 +2208,7 @@ void OpenGLSalGraphicsImpl::doFlush()
VCL_GL_INFO( "doFlush - end." );
}
-bool OpenGLSalGraphicsImpl::renderSceneGraph(vcl::sg::RootNode& rRootNode)
+bool OpenGLSalGraphicsImpl::renderSceneGraph(vcl::sg::Node& rRootNode)
{
SceneGraphRenderer aSceneGraphRenderer(rRootNode, *mpRenderList);
aSceneGraphRenderer.render(GetWidth(), GetHeight());