From 401488c4f10a8a5e5d507d17d0cec1703f75fbea Mon Sep 17 00:00:00 2001 From: kgv Date: Fri, 2 Feb 2018 20:14:49 +0300 Subject: [PATCH] 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). --- src/OpenGl/OpenGl_View.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/OpenGl/OpenGl_View.cxx b/src/OpenGl/OpenGl_View.cxx index ae1930a3bc..75952cb1ee 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, myZLayers (Structure_MAX_PRIORITY - Structure_MIN_PRIORITY + 1), myStateCounter (theCounter), 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), -- 2.39.5