From 83d27aa30549194068fef320f735245a7735a5ea Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 15 Mar 2016 11:46:09 +0200 Subject: Add IMappedFramebuffer and remove MappedBuffer --- tests/fbtestpat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/fbtestpat.cpp') diff --git a/tests/fbtestpat.cpp b/tests/fbtestpat.cpp index 529a688..a29ae24 100644 --- a/tests/fbtestpat.cpp +++ b/tests/fbtestpat.cpp @@ -12,7 +12,7 @@ #include #include "test.h" -#include "mappedbuffer.h" +#include "cpuframebuffer.h" using namespace kms; @@ -41,7 +41,7 @@ int main(int argc, char** argv) FAIL_IF(ptr == MAP_FAILED, "mmap failed"); - MappedCPUBuffer buf(var.xres_virtual, var.yres_virtual, PixelFormat::XRGB8888); + CPUFramebuffer buf(var.xres_virtual, var.yres_virtual, PixelFormat::XRGB8888); printf("%s: res %dx%d, virtual %dx%d, line_len %d\n", fbdev, -- cgit v1.2.3