mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
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).
This commit is contained in:
parent
f9ffd4f9f3
commit
161e0e95b7
@ -65,11 +65,7 @@ OpenGl_View::OpenGl_View (const Handle(Graphic3d_StructureManager)& theMgr,
|
|||||||
myCurrLightSourceState (theCounter->Increment()),
|
myCurrLightSourceState (theCounter->Increment()),
|
||||||
myLightsRevision (0),
|
myLightsRevision (0),
|
||||||
myLastLightSourceState (0, 0),
|
myLastLightSourceState (0, 0),
|
||||||
#if !defined(GL_ES_VERSION_2_0)
|
|
||||||
myFboColorFormat (GL_RGBA8),
|
myFboColorFormat (GL_RGBA8),
|
||||||
#else
|
|
||||||
myFboColorFormat (GL_RGBA),
|
|
||||||
#endif
|
|
||||||
myFboDepthFormat (GL_DEPTH24_STENCIL8),
|
myFboDepthFormat (GL_DEPTH24_STENCIL8),
|
||||||
myToFlipOutput (Standard_False),
|
myToFlipOutput (Standard_False),
|
||||||
myFrameCounter (0),
|
myFrameCounter (0),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user