We don't strictly need to be informed on each damage / destroy callback.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 22 Jun 2011 14:41:36 +0000 (16:41 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 22 Jun 2011 14:41:36 +0000 (16:41 +0200)
src/qt-compositor/wayland_wrapper/wlshmbuffer.cpp

index f0a307a..7889fc7 100644 (file)
@@ -127,12 +127,10 @@ void ShmHandler::buffer_damaged_callback(struct wl_buffer *buffer,
     Q_UNUSED(y);
     Q_UNUSED(width);
     Q_UNUSED(height);
-    fprintf(stderr,"damage_callback\n");
 }
 
 void ShmHandler::buffer_destroyed_callback(struct wl_buffer *buffer)
 {
-    fprintf(stderr, "destory callback\n");
     delete static_cast<ShmBuffer *>(buffer->user_data);
 }