summaryrefslogtreecommitdiff
path: root/src/user/raleigh/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/raleigh/window.cpp')
-rw-r--r--src/user/raleigh/window.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/user/raleigh/window.cpp b/src/user/raleigh/window.cpp
index 5fa82c3..607b58e 100644
--- a/src/user/raleigh/window.cpp
+++ b/src/user/raleigh/window.cpp
@@ -74,7 +74,13 @@ namespace raleigh {
}
void window::paint_full() {
- for (uint32_t i = 0; i < size.x * size.y; ++i)
+ //syslogf("paint_full called with");
+ //syslogf(" pixbuf = 0x%x", pixbuf);
+ //syslogf(" size.x = %u", size.x);
+ //syslogf(" size.y = %u", size.y);
+
+ const uint32_t n = size.x * size.y;
+ for (uint32_t i = 0; i < n; ++i)
pixbuf[i] = bg_color;
root.next_paint_full = true;
root.paint(pixbuf, size.x);