/[libvob]/libvob/src/os/Os-GLX.cxx
ViewVC logotype

Diff of /libvob/src/os/Os-GLX.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Fri Feb 28 13:56:08 2003 UTC revision 1.3 by tjl, Wed Apr 9 14:09:26 2003 UTC
# Line 42  Os-GLX.cxx Line 42  Os-GLX.cxx
42  #include <X11/keysym.h>  #include <X11/keysym.h>
43    
44  #include <vob/os/Os.hxx>  #include <vob/os/Os.hxx>
45    #include <vob/Debug.hxx>
46    
47    
48    
# Line 50  Os-GLX.cxx Line 51  Os-GLX.cxx
51  #define BARF(m) { cerr << m << "\n"; exit(18); }  #define BARF(m) { cerr << m << "\n"; exit(18); }
52    
53    
 #define DBG(cname) if(!cname);else (std::cout << "CallGL: ")  
54    
55  namespace Vob {  namespace Vob {
56  namespace Os {  namespace Os {
57    
58      bool dbg;      DBGVAR(dbg, "Os");
59    
60      using std::cerr;      using std::cerr;
61      using std::cout;      using std::cout;
# Line 684  namespace Os { Line 684  namespace Os {
684                  DBG(dbg) << "Emptying interrupt pipe\n";                  DBG(dbg) << "Emptying interrupt pipe\n";
685                  while(read(interruptPipe[0], &b, 4) > 0) {                  while(read(interruptPipe[0], &b, 4) > 0) {
686                      DBG(dbg) << "Got "<<b[0]<<" "<<b[1]<<" "<<b[2]<< " "<<b[3]<<"\n";                      DBG(dbg) << "Got "<<b[0]<<" "<<b[1]<<" "<<b[2]<< " "<<b[3]<<"\n";
687                        wait = false;
688                  }                  }
689                  DBG(dbg) << "Empty\n";                  DBG(dbg) << "Empty\n";
690                    continue;
691              }              }
692    
693    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26