1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0028625: Visualization, OpenGl_FrameBuffer - initialize Render Buffer with stencil

This commit is contained in:
kgv
2017-04-03 22:53:17 +03:00
committed by bugmaster
parent 450c83adcf
commit e473b95fe9
2 changed files with 32 additions and 5 deletions

View File

@@ -1213,7 +1213,8 @@ void OpenGl_Context::init (const Standard_Boolean theIsCoreProfile)
|| CheckExtension ("GL_EXT_texture_rg");
extBgra = CheckExtension ("GL_EXT_texture_format_BGRA8888");
extAnis = CheckExtension ("GL_EXT_texture_filter_anisotropic");
extPDS = CheckExtension ("GL_OES_packed_depth_stencil");
extPDS = IsGlGreaterEqual (3, 0)
|| CheckExtension ("GL_OES_packed_depth_stencil");
core11fwd = (OpenGl_GlCore11Fwd* )(&(*myFuncs));
if (IsGlGreaterEqual (2, 0))