summaryrefslogtreecommitdiff
path: root/src/Texture.cc
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-10-03 03:58:07 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-10-03 03:58:07 +0000
commit987cf7cc40d4ab9c5e895ea2b0c7a77f10a0510f (patch)
treea62d2ea4cc1c813f87ca4e257fb5641891ed81a1 /src/Texture.cc
parentefd6c59c90aeff5bfd2fb76b3085e837aacb0596 (diff)
Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus: Documentation to be added.
Diffstat (limited to 'src/Texture.cc')
-rw-r--r--src/Texture.cc1
1 files changed, 1 insertions, 0 deletions
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;