0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / samples / tcl / pathtrace_cube.tcl
index 1ef1b24..0aca0ae 100644 (file)
@@ -5,6 +5,8 @@
 #Title: Path tracing - Cube
 
 pload MODELING VISUALIZATION
+# Ray-Tracing doesn't work with Compatible Profile on macOS
+if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
 
 # setup 3D viewer content
 vclear