diff options
Diffstat (limited to 'otk/texture.cc')
| -rw-r--r-- | otk/texture.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/texture.cc b/otk/texture.cc index 77a7192b..67addc3b 100644 --- a/otk/texture.cc +++ b/otk/texture.cc @@ -164,7 +164,7 @@ Pixmap Texture::render(const unsigned int width, const unsigned int height, return ParentRelative; if (screen() == ~(0u)) - scrn = DefaultScreen(Display::display); + scrn = DefaultScreen(**display); assert(ctrl != 0); Pixmap ret = ctrl->renderImage(width, height, *this); |
