diff options
Diffstat (limited to 'otk/surface.cc')
| -rw-r--r-- | otk/surface.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/surface.cc b/otk/surface.cc index 70acf70a..9dfb8889 100644 --- a/otk/surface.cc +++ b/otk/surface.cc @@ -57,9 +57,11 @@ void Surface::createObjects() _pixmap = XCreatePixmap(**display, info->rootWindow(), _size.x(), _size.y(), info->depth()); + assert(_pixmap != None); _xftdraw = XftDrawCreate(**display, _pixmap, info->visual(), info->colormap()); + assert(_xftdraw); } void Surface::destroyObjects() |
