mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0023246: TKOpenGl viewer created without depth buffer on some X11 implementations
Apply workaround on Mac OS platforms too to ensure GL context created with depth buffer.
This commit is contained in:
parent
fc9e20957d
commit
cdc56cc8ae
@ -212,7 +212,7 @@ OpenGl_Window::OpenGl_Window (const Handle(OpenGl_Display)& theDisplay,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if defined(__linux) || defined(Linux)
|
#if defined(__linux) || defined(Linux) || defined(__APPLE__)
|
||||||
if (aVis != NULL)
|
if (aVis != NULL)
|
||||||
{
|
{
|
||||||
// check Visual for OpenGl context's parameters compability
|
// check Visual for OpenGl context's parameters compability
|
||||||
|
Loading…
x
Reference in New Issue
Block a user