summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-05 18:30:52 -0700
committerMathias Agopian <mathias@google.com>2009-05-05 18:30:52 -0700
commit295190f426a209cf08a21476f15e0e281db6fcb5 (patch)
tree61c6ee4c575509bbc44406c6dd11c8332e544a5f /modules/gralloc
parent988b8bd553180e8d71b4028ecb721f46312efe62 (diff)
downloadhardware_libhardware-295190f426a209cf08a21476f15e0e281db6fcb5.zip
hardware_libhardware-295190f426a209cf08a21476f15e0e281db6fcb5.tar.gz
hardware_libhardware-295190f426a209cf08a21476f15e0e281db6fcb5.tar.bz2
get rid of unused/needed flags
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp
index 31adfca..5077a0d 100644
--- a/modules/gralloc/framebuffer.cpp
+++ b/modules/gralloc/framebuffer.cpp
@@ -347,7 +347,7 @@ int fb_device_open(hw_module_t const* module, const char* name,
status = mapFrameBuffer(m);
if (status >= 0) {
int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
- const_cast<uint32_t&>(dev->device.flags) = FRAMEBUFFER_FLAG_MAPPED;
+ const_cast<uint32_t&>(dev->device.flags) = 0;
const_cast<uint32_t&>(dev->device.width) = m->info.xres;
const_cast<uint32_t&>(dev->device.height) = m->info.yres;
const_cast<int&>(dev->device.stride) = stride;