0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / bugs / vis / bug26424
1 puts "========"
2 puts "OCC26424"
3 puts "========"
4 puts ""
5 ################################################################
6 # Text is not rendered within core profile on Windows platform
7 ################################################################
8
9 vcaps -core
10 vinit View1
11 vclear
12 vaxo
13 vzbufftrihedron
14
15 if { [checkplatform -windows] } {
16   # Windows platform
17   set ok_color "GRAY52"
18 } else {
19   # Linux platform
20   set ok_color "GRAY85"
21 }
22
23 set bug_info [vreadpixel 71 350 rgb name]
24 if {$bug_info != $ok_color} {
25   puts "ERROR: OCC26424 is reproduced. Trihedron does non have text labels."
26 }
27
28 checkview -screenshot -3d -path ${imagedir}/${test_image}.png