if (!aViewBuffer)
{
- aFrameBuffer->Release (GetGlContext());
+ aFrameBuffer->Release (GetGlContext().operator->());
aViewBuffer = NULL;
aViewImage = NULL;
}
{
if (hViewBitmap)
DeleteObject (hViewBitmap);
- aFrameBuffer->Release (GetGlContext());
+ aFrameBuffer->Release (GetGlContext().operator->());
hViewBitmap = NULL;
}
else
{
myPrintContext->SetScale ((GLfloat )aFrameWidth /viewWidth,
(GLfloat )aFrameHeight/viewHeight);
- aFrameBuffer->SetupViewport ();
+ aFrameBuffer->SetupViewport (GetGlContext());
Redraw1(ACView, ACUnderLayer, ACOverLayer, 0);
if (!myTransientDrawToFront)
{
aFrameHeight;
// draw to the offscreen buffer and capture the result
- aFrameBuffer->SetupViewport ();
+ aFrameBuffer->SetupViewport (GetGlContext());
Redraw1(ACView, ACUnderLayer, ACOverLayer, 0);
if (!myTransientDrawToFront)
{
}
else
{
- aFrameBuffer->Release (GetGlContext ());
+ aFrameBuffer->Release (GetGlContext().operator->());
delete aFrameBuffer;
}