Use reserved[4] field for storing fps
Use reserved[4] field for storing fps, since reserved[3] is used by HDMI Change-Id: I4cc94eb0359b71bf15ae025e30fdad3fc96ae1fd
This commit is contained in:
parent
aa0bfe5151
commit
727d46f18b
@ -851,8 +851,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[3] field is used to store FPS by the driver.
|
||||
float fps = info.reserved[3];
|
||||
//The reserved[4] field is used to store FPS by the driver.
|
||||
float fps = info.reserved[4];
|
||||
|
||||
LOGI( "using (fd=%d)\n"
|
||||
"id = %s\n"
|
||||
|
Loading…
Reference in New Issue
Block a user