Commit cd930796 authored by fogal1's avatar fogal1

Add debug messages for display creation.

Lets us easily figure out what kind of display gets created.  This
information can be inferred from other messages, but I
semi-recently tracked down a bug where two modules disagreed about
this bit of state.  This would allow one to very easily notice
when that occurs.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7996 18c085ea-50e0-402c-830e-de6fd14e8384
parent 00cc801a
......@@ -129,6 +129,9 @@ split(std::string str, size_t node, size_t display)
// Kathleen Bonnell, Tue Sep 2 15:53:44 PDT 2008
// Ifdef out XDisplay stuff for windows.
//
// Tom Fogal, Sat May 30 12:32:51 MDT 2009
// Add debug messages so we can figure out which display was created.
//
// ****************************************************************************
VisItDisplay *
Display::Create(enum visitDisplayType vtype)
......@@ -136,10 +139,12 @@ Display::Create(enum visitDisplayType vtype)
switch(vtype)
{
case D_MESA:
debug3 << "Creating Mesa (SW-based) display." << std::endl;
return new MesaDisplay();
break;
#ifndef WIN32
case D_X:
debug3 << "Creating X (HW-based) display." << std::endl;
return new XDisplay();
break;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment