1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv be3752526f 0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
OpenGl_Caps - flag ffpEnable is now initialized to false on desktop OpenGL.
OpenGl_Context::init() - now prints error if OpenGL version does not support GLSL
and switches OpenGl_Caps::ffpEnable to true.

update test cases
2016-07-28 15:14:12 +03:00

34 lines
615 B
Plaintext
Executable File

puts "================"
puts "OCC23172"
puts "================"
puts ""
######################################
# vexport failed on some Intel GPUs
######################################
set BugNumber OCC23172
box b 1 2 3
vinit
vdisplay b
vfit
set aFile $imagedir/${test_image}.svg
if { [file exists ${aFile}] } {
file delete ${aFile}
}
vcaps -ffp 1
vexport $aFile SVG
if { [file exists ${aFile}] } {
puts "Export to SVG file was done"
puts "OK : Export to SVG file was done"
} else {
puts "Faulty : Export to SVG file was not done"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png