summaryrefslogtreecommitdiffstats
path: root/libgralloc/framebuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libgralloc/framebuffer.cpp')
-rw-r--r--libgralloc/framebuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index 4935785b6..931024bc9 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -816,8 +816,8 @@ int mapFrameBufferLocked(struct private_module_t* module)
float xdpi = (info.xres * 25.4f) / info.width;
float ydpi = (info.yres * 25.4f) / info.height;
- //The reserved[4] field is used to store FPS by the driver.
- float fps = info.reserved[4];
+ //The reserved[3] field is used to store FPS by the driver.
+ float fps = info.reserved[3];
ALOGI("using (fd=%d)\n"
"id = %s\n"