Commit 6366afca authored by Ken Martin's avatar Ken Martin
Browse files

added in xglr renderer

parent 17bff2e5
......@@ -30,6 +30,10 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#include "GlrRenW.hh"
#endif
#ifdef USE_XGLR
#include "XglrRenW.hh"
#endif
vlRenderMaster::vlRenderMaster()
{
}
......@@ -58,7 +62,7 @@ vlRenderWindow *vlRenderMaster::MakeRenderWindow(char *type)
#endif
#ifdef USE_GLR
if (!strncmp("glr",type,4))
if (!strncmp("glr",type,3))
{
vlGlrRenderWindow *ren;
ren = new vlGlrRenderWindow;
......@@ -66,6 +70,15 @@ vlRenderWindow *vlRenderMaster::MakeRenderWindow(char *type)
}
#endif
#ifdef USE_XGLR
if (!strncmp("xglr",type,4))
{
vlXglrRenderWindow *ren;
ren = new vlXglrRenderWindow;
return (vlRenderWindow *)ren;
}
#endif
vlErrorMacro(<<"RenderMaster Error: unable to return render window.\n");
return (vlRenderWindow *)NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment