From 5b0eb9311da7a5a53b3c3db17fc792825394f647 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 9 May 2012 17:33:03 +0100 Subject: moar debug --- src/videocore-exa.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/videocore-exa.c b/src/videocore-exa.c index 3d2f35f..976b96f 100644 --- a/src/videocore-exa.c +++ b/src/videocore-exa.c @@ -472,13 +472,16 @@ VideoCorePrepareAccess(PixmapPtr pPixmap, int index) unsigned short width, height; pointer data; + DEBUG_MSG("called for pixmap %p, is_screen_pixmap %s, texture %u, index %u", + pPixmap, + priv->is_screen_pixmap ? "true" : "falsetto", + priv->texture_id, index); + if (priv->texture_id == 0 && !priv->is_screen_pixmap) { WARNING_MSG("called for boring pixmap %p", pPixmap); return FALSE; } - DEBUG_MSG("called for pixmap %p, texture %u, index %u", pPixmap, priv->texture_id, index); - width = pPixmap->drawable.width; height = pPixmap->drawable.height; assert (pPixmap->drawable.bitsPerPixel / 8 == 4); -- cgit v1.2.3