summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/videocore-exa.c7
1 files 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);