add dbg print

This commit is contained in:
cxgeorge 2002-10-04 23:11:35 +00:00
parent 67cce38a1b
commit 36a526eca1
1 changed files with 3 additions and 0 deletions

View File

@ -1343,6 +1343,9 @@ void wdxGraphicsWindowGroup::CreateWindows(void) {
pWindowClassName=WDX_WINDOWCLASSNAME;
}
wdxdisplay_cat.info() << "opening " << xsize << "x" << ysize
<< ((_windows[devnum]->_props._fullscreen) ? " fullscreen" : " regular") << " window\n";
if((xsize==0) || (ysize==0)) {
wdxdisplay_cat.fatal() << "can't create window with zero area for device " << devnum << "!\n";
exit(1);