mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0030374: Visualization, TKOpenGl - activate texture unit Graphic3d_TextureUnit_1 after OpenGl_LayerList::renderTransparent()
This commit is contained in:
parent
5290fb106f
commit
ce1c28b8b4
@ -792,8 +792,8 @@ void OpenGl_LayerList::renderTransparent (const Handle(OpenGl_Workspace)& theW
|
|||||||
|
|
||||||
// Unbind OpenGL texture objects and shader program.
|
// Unbind OpenGL texture objects and shader program.
|
||||||
aVerts->UnbindVertexAttrib (aCtx, Graphic3d_TOA_POS);
|
aVerts->UnbindVertexAttrib (aCtx, Graphic3d_TOA_POS);
|
||||||
theOitAccumFbo->ColorTexture (0)->Unbind (aCtx, Graphic3d_TextureUnit_0);
|
|
||||||
theOitAccumFbo->ColorTexture (1)->Unbind (aCtx, Graphic3d_TextureUnit_1);
|
theOitAccumFbo->ColorTexture (1)->Unbind (aCtx, Graphic3d_TextureUnit_1);
|
||||||
|
theOitAccumFbo->ColorTexture (0)->Unbind (aCtx, Graphic3d_TextureUnit_0);
|
||||||
aCtx->BindProgram (NULL);
|
aCtx->BindProgram (NULL);
|
||||||
|
|
||||||
if (!aTextureBack.IsNull())
|
if (!aTextureBack.IsNull())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user