mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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
34 lines
615 B
Plaintext
Executable File
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
|
|
|