From 317a6280cc109e873646e4652be1582d870eedfd Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 13 Aug 2009 17:29:02 -0700 Subject: Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed. this also ripples into the window manager API by making some constant there deprecated as well. --- cmds/bootanimation/BootAnimation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmds/bootanimation/BootAnimation.cpp') diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 5b904cb27f8d..99e513cc0710 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -130,8 +130,7 @@ status_t BootAnimation::readyToRun() { // create the native surface sp control = session()->createSurface( - getpid(), 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565, - ISurfaceComposer::eGPU); + getpid(), 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565); session()->openTransaction(); control->setLayer(0x40000000); session()->closeTransaction(); -- cgit v1.2.3-59-g8ed1b