Commit 0f779868 authored by Ken Martin's avatar Ken Martin
Browse files

added start and end render methods

parent 26588820
......@@ -152,6 +152,11 @@ void vlXglrRenderer::Render(void)
{
vlXglrRenderWindow *temp;
if (this->StartRenderMethod)
{
(*this->StartRenderMethod)(this->StartRenderMethodArg);
}
// update our Context first
temp = (vlXglrRenderWindow *)this->GetRenderWindow();
this->Context = *(temp->GetContext());
......@@ -164,6 +169,11 @@ void vlXglrRenderer::Render(void)
{
this->VolumeRenderer->Render((vlRenderer *)this);
}
if (this->EndRenderMethod)
{
(*this->EndRenderMethod)(this->EndRenderMethodArg);
}
}
// Description:
......
Markdown is supported
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