From 987cf7cc40d4ab9c5e895ea2b0c7a77f10a0510f Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 3 Oct 2002 03:58:07 +0000 Subject: Added style resources for window.button.pressed.focus: and window.button.pressed.unfocus: Documentation to be added. --- src/Texture.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Texture.cc') diff --git a/src/Texture.cc b/src/Texture.cc index 60923316..75283a91 100644 --- a/src/Texture.cc +++ b/src/Texture.cc @@ -184,6 +184,7 @@ BTexture& BTexture::operator=(const BTexture &tt) { Pixmap BTexture::render(const unsigned int width, const unsigned int height, const Pixmap old) { assert(display() != 0); + assert(texture() != BTexture::NoTexture); if (texture() == (BTexture::Flat | BTexture::Solid)) return None; -- cgit v1.2.3