summaryrefslogtreecommitdiffstats
path: root/rsElement.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-01-28 09:31:47 -0800
committerAlex Sakhartchouk <alexst@google.com>2011-01-31 12:38:34 -0800
commit099d7d33e55afeb3399f6e8cf8d665223ca94939 (patch)
tree77eec1faec127f665d70cc1d058ab3abb7d7c8f0 /rsElement.cpp
parent6b3422f3d011aa4e20e202a62c358d099074e96d (diff)
downloadandroid_frameworks_rs-099d7d33e55afeb3399f6e8cf8d665223ca94939.tar.gz
android_frameworks_rs-099d7d33e55afeb3399f6e8cf8d665223ca94939.tar.bz2
android_frameworks_rs-099d7d33e55afeb3399f6e8cf8d665223ca94939.zip
Making sure we can build libRS on the host for serialization.
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
Diffstat (limited to 'rsElement.cpp')
-rw-r--r--rsElement.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/rsElement.cpp b/rsElement.cpp
index 6ae8bb8f..7c3b9e8d 100644
--- a/rsElement.cpp
+++ b/rsElement.cpp
@@ -17,10 +17,8 @@
#ifndef ANDROID_RS_BUILD_FOR_HOST
#include "rsContext.h"
-#include <GLES/gl.h>
#else
#include "rsContextHostStub.h"
-#include <OpenGL/gl.h>
#endif
using namespace android;
@@ -65,7 +63,7 @@ size_t Element::getSizeBits() const {
void Element::dumpLOGV(const char *prefix) const {
ObjectBase::dumpLOGV(prefix);
- LOGV("%s Element: fieldCount: %i, size bytes: %i", prefix, mFieldCount, getSizeBytes());
+ LOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes());
for (uint32_t ct = 0; ct < mFieldCount; ct++) {
LOGV("%s Element field index: %u ------------------", prefix, ct);
LOGV("%s name: %s, offsetBits: %u, arraySize: %u",