1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0024728: A lot of tests are crashed on vdump command on Windows in debug mode

This commit is contained in:
apl
2014-03-14 15:30:29 +04:00
committed by bugmaster
parent b4747b2976
commit 5432891550
2 changed files with 18 additions and 1 deletions

View File

@@ -3135,7 +3135,7 @@ Standard_Boolean V3d_View::ToPixMap (Image_PixMap& theImage,
if (theToKeepAspect)
{
myCamera->SetAspect ((Standard_Real) aFBOVPSizeX / aFBOSizeYMax);
myCamera->SetAspect ((Standard_Real) aFBOVPSizeX / aFBOVPSizeY);
}
//workaround for rendering list of Over and Under Layers

17
tests/bugs/vis/bug24728 Normal file
View File

@@ -0,0 +1,17 @@
puts "============"
puts "CR24728"
puts "============"
puts ""
############################################################
# Test image dumping with software accelerated GL context
############################################################
vcaps soft=1
vinit View1
box b 1 2 3
vdisplay b
vfit
vdump $imagedir/${casename}.png