ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/devtable.c
(Generate patch)

Comparing ray/src/rt/devtable.c (file contents):
Revision 2.9 by schorsch, Sat Mar 19 12:51:36 2016 UTC vs.
Revision 2.10 by greg, Fri Apr 6 17:52:33 2018 UTC

# Line 11 | Line 11 | static const char      RCSid[] = "$Id$";
11  
12   #if !defined(HAS_X11) && !defined(HAS_QT) && !defined(WIN_RVIEW)
13   /* weird logic ... */
14 < #define HAS_X11
14 > #define HAS_X11 1
15   #endif
16  
17 < #ifdef HAS_X11
17 > #if HAS_X11
18   extern dr_initf_t x11_init;
19   char  dev_default[] = "x11";
20   #elif defined(HAS_QT)
# Line 33 | Line 33 | extern dr_initf_t win_rvudev_init;
33  
34   struct device  devtable[] = {                   /* supported devices */
35          {"slave", "Slave driver", slave_init},
36 < #ifdef HAS_X11
36 > #if HAS_X11
37          {"x11", "X11 color or greyscale display", x11_init},
38          {"x11d", "X11 display using stdin/stdout", x11_init},
39   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines