Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / ccbs_bigscreen.cpp
index b183ddd..dcf8a78 100644 (file)
@@ -116,7 +116,7 @@ void main_loop(pqxx::connection &conn)
        }
 
        if (mainscreen && mainscreen->check_invalidated()) {
-               mainscreen->draw(framebuf);
+               mainscreen->draw(framebuf, SCREEN_WIDTH, SCREEN_HEIGHT);
                ptc_update(framebuf);
                conn.await_notification(0, 10000);
        } else {