return Standard_True;
}
+// =======================================================================
+// function : Init
+// purpose :
+// =======================================================================
+Standard_Boolean OpenGl_FrameBuffer::InitLazy (const Handle(OpenGl_Context)& theGlContext,
+ const GLsizei theViewportSizeX,
+ const GLsizei theViewportSizeY)
+{
+ if (myVPSizeX == theViewportSizeX
+ && myVPSizeY == theViewportSizeY)
+ {
+ return IsValid();
+ }
+
+ return Init (theGlContext, theViewportSizeX, theViewportSizeY);
+}
+
// =======================================================================
// function : InitWithRB
// purpose :