summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/CPUGauge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaceflinger/CPUGauge.cpp')
-rw-r--r--libs/surfaceflinger/CPUGauge.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaceflinger/CPUGauge.cpp b/libs/surfaceflinger/CPUGauge.cpp
index 74a9270..91dd236 100644
--- a/libs/surfaceflinger/CPUGauge.cpp
+++ b/libs/surfaceflinger/CPUGauge.cpp
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-#define LOG_TAG "CPUGauge"
-
#include <stdint.h>
#include <limits.h>
#include <sys/types.h>
@@ -113,7 +111,7 @@ bool CPUGauge::threadLoop()
fb.version = sizeof(GGLSurface);
fb.width = info.w;
fb.height = info.h;
- fb.stride = info.w;
+ fb.stride = info.s;
fb.format = info.format;
fb.data = (GGLubyte*)info.bits;