summaryrefslogtreecommitdiff
path: root/libs/rs/rsElement.cpp
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2011-01-28 09:31:47 -0800
committer Alex Sakhartchouk <alexst@google.com> 2011-01-31 12:38:34 -0800
commita3b5960f6f28a81cd63abd69adcdfb5dcc05aa30 (patch)
treeced261c0c614263d9f8acb5bdc483324f6b25311 /libs/rs/rsElement.cpp
parentbd07f8e864120c183d6ef6dded1fb286a004b2a5 (diff)
Making sure we can build libRS on the host for serialization.
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
Diffstat (limited to 'libs/rs/rsElement.cpp')
-rw-r--r--libs/rs/rsElement.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp
index 6ae8bb8f640e..7c3b9e8dc42d 100644
--- a/libs/rs/rsElement.cpp
+++ b/libs/rs/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",