]> OCCT Git - occt-copy.git/commitdiff
Fix MeshVS_TextPrsBuilder
authorisk <isk@opencascade.com>
Fri, 12 Feb 2016 08:30:00 +0000 (11:30 +0300)
committerisk <isk@opencascade.com>
Tue, 15 Mar 2016 07:35:41 +0000 (10:35 +0300)
src/MeshVS/MeshVS_TextPrsBuilder.cxx

index 5caf84242f6f53d6697f3ff53cdc5f4408144159..3317546a399a2b15e209d1f2c965cdd7b8453da3 100644 (file)
@@ -164,7 +164,7 @@ namespace
 
       if (myFBO->GetVPSizeX() != theWorkspace->Width() || myFBO->GetVPSizeY() != theWorkspace->Height())
       {
-        myFBO->Init (aContext, theWorkspace->Width(), theWorkspace->Height());
+        myFBO->Init (aContext, theWorkspace->Width(), theWorkspace->Height(), GL_RGBA8, GL_DEPTH24_STENCIL8);
       }
 
       GLint aDrawFboId = 0;