From: isk Date: Fri, 12 Feb 2016 08:30:00 +0000 (+0300) Subject: Fix MeshVS_TextPrsBuilder X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=67ee4171c96e6c81867cd0fbb504823d5867c01f;p=occt-copy.git Fix MeshVS_TextPrsBuilder --- diff --git a/src/MeshVS/MeshVS_TextPrsBuilder.cxx b/src/MeshVS/MeshVS_TextPrsBuilder.cxx index 5caf84242f..3317546a39 100644 --- a/src/MeshVS/MeshVS_TextPrsBuilder.cxx +++ b/src/MeshVS/MeshVS_TextPrsBuilder.cxx @@ -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;