From 2dcc1cfeb958be32f4462c96f49b80fd30cc154c Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 2 Dec 2012 22:36:25 +0100 Subject: [PATCH] Remove test pattern that is no longer needed. --- .../raspberrypi_arm/arch_framebuffer_bcm2708.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/system/boot/platform/raspberrypi_arm/arch_framebuffer_bcm2708.cpp b/src/system/boot/platform/raspberrypi_arm/arch_framebuffer_bcm2708.cpp index 57d6243460..9eb913f9a3 100644 --- a/src/system/boot/platform/raspberrypi_arm/arch_framebuffer_bcm2708.cpp +++ b/src/system/boot/platform/raspberrypi_arm/arch_framebuffer_bcm2708.cpp @@ -161,15 +161,6 @@ ArchFramebufferBCM2708::SetVideoMode(int width, int height, int depth) fBase = (addr_t)mmu_map_physical_memory(fPhysicalBase, fSize, kDefaultPageFlags); - uint8* line = (uint8*)fBase; - for (uint32 y = 0; y < sFramebufferConfig.height; y++) { - volatile uint16* pixel = (volatile uint16*)line; - for (uint32 x = 0; x < sFramebufferConfig.width; x++) - *(pixel++) = y % 2 == 0 ? 0xffff : 0x0000; - - line += sFramebufferConfig.bytes_per_row; - } - fCurrentWidth = width; fCurrentHeight = height; fCurrentDepth = depth;