From 48f1291c7f32a880157e0adac0759044e33fb63a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 26 Aug 2007 10:19:12 +0000 Subject: [PATCH] Added dynamic_cast and extra doc commented just to force the use of symbol from osgViewer so that it links properly and pulls in the platform specific GraphcisWindow* implementation. --- applications/osgconv/osgconv.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/applications/osgconv/osgconv.cpp b/applications/osgconv/osgconv.cpp index 1e3b28849..bf9e267a4 100644 --- a/applications/osgconv/osgconv.cpp +++ b/applications/osgconv/osgconv.cpp @@ -20,6 +20,8 @@ #include #include +#include + #include #include "OrientationConverter.h" @@ -54,7 +56,14 @@ class MyGraphicsContext { { _gc->realize(); _gc->makeCurrent(); - std::cout<<"Realized context"<(_gc.get())) + { + std::cout<<"Realized graphics window for OpenGL operations."<