From b87be17fc858f7244f0c2d045a13ea094da2c8e8 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Tue, 29 Mar 2005 17:31:31 +0000 Subject: [PATCH] Fixed the last remaining warning. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12128 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/drawing/AccelerantHWInterface.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/servers/app/drawing/AccelerantHWInterface.cpp b/src/servers/app/drawing/AccelerantHWInterface.cpp index 393b8ea540..ce1405ad98 100644 --- a/src/servers/app/drawing/AccelerantHWInterface.cpp +++ b/src/servers/app/drawing/AccelerantHWInterface.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -748,7 +749,7 @@ AccelerantHWInterface::_CopyToFront(uint8* src, uint32 srcBPR, // has a class that handles this, something so useful // should be moved to a more public place. // TODO: assumes BGR order again - /*BScreen screen; + BScreen screen; for (; y <= bottom; y++) { uint8* srcHandle = src; uint8* dstHandle = dst; @@ -762,7 +763,7 @@ AccelerantHWInterface::_CopyToFront(uint8* src, uint32 srcBPR, } dst += dstBPR; src += srcBPR; - }*/ + } break; } case B_GRAY8: {