From: kgv Date: Fri, 2 Feb 2018 17:14:49 +0000 (+0300) Subject: 0029477: Visualization, TKOpenGl - MSAA FBO initialization failure on OpenGL ES 3... X-Git-Tag: V7_3_0_beta~96 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=161e0e95b71a9612e54b37aff4427482704ce0db;p=occt-copy.git 0029477: Visualization, TKOpenGl - MSAA FBO initialization failure on OpenGL ES 3.2 device OpenGl_View::myFboColorFormat now initialized using sized texture format GL_RGBA8 on mobile platforms (as in case of desktop platform). --- diff --git a/src/OpenGl/OpenGl_View.cxx b/src/OpenGl/OpenGl_View.cxx index e4e82c09d8..8f688184f7 100644 --- a/src/OpenGl/OpenGl_View.cxx +++ b/src/OpenGl/OpenGl_View.cxx @@ -65,11 +65,7 @@ OpenGl_View::OpenGl_View (const Handle(Graphic3d_StructureManager)& theMgr, myCurrLightSourceState (theCounter->Increment()), myLightsRevision (0), myLastLightSourceState (0, 0), -#if !defined(GL_ES_VERSION_2_0) myFboColorFormat (GL_RGBA8), -#else - myFboColorFormat (GL_RGBA), -#endif myFboDepthFormat (GL_DEPTH24_STENCIL8), myToFlipOutput (Standard_False), myFrameCounter (0),