1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug29127
kgv c8fe0e2db4 0029127: Visualization - V3d_View::ToPixMap() crashes on tiled rendering without FBO
Fixed out-of-memory writing within fallback View dump mode.
2017-09-28 10:41:44 +03:00

19 lines
629 B
Plaintext

puts "============"
puts "0029127: Visualization - V3d_View::ToPixMap() crashes on tiled rendering without FBO"
puts "============"
puts ""
pload MODELING VISUALIZATION
box b 1 2 3
# request software OpenGL implementation - which is OpenGL 1.1 in case of Windows
# (test case is useless for other systems)
vcaps -softMode 1
vclear
vinit View1
vsetdispmode 1
vdisplay b
vfit
vdump $::imagedir/${::casename}_409.png -buffer rgb -width 409 -height 409
vdump $::imagedir/${::casename}_412.png -buffer rgb -width 412 -height 412 -tileSize 409
vdump $::imagedir/${::casename}_500.png -buffer rgb -width 500 -height 500 -tileSize 300