summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsType.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
commita3b5960f6f28a81cd63abd69adcdfb5dcc05aa30 (patch)
treeced261c0c614263d9f8acb5bdc483324f6b25311 /libs/rs/rsType.cpp
parentbd07f8e864120c183d6ef6dded1fb286a004b2a5 (diff)
downloadframeworks_base-a3b5960f6f28a81cd63abd69adcdfb5dcc05aa30.zip
frameworks_base-a3b5960f6f28a81cd63abd69adcdfb5dcc05aa30.tar.gz
frameworks_base-a3b5960f6f28a81cd63abd69adcdfb5dcc05aa30.tar.bz2
Making sure we can build libRS on the host for serialization.
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
Diffstat (limited to 'libs/rs/rsType.cpp')
-rw-r--r--libs/rs/rsType.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/rs/rsType.cpp b/libs/rs/rsType.cpp
index d7b5f12..b94c2f8 100644
--- a/libs/rs/rsType.cpp
+++ b/libs/rs/rsType.cpp
@@ -16,10 +16,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;
@@ -146,7 +144,7 @@ uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, uint
void Type::dumpLOGV(const char *prefix) const {
char buf[1024];
ObjectBase::dumpLOGV(prefix);
- LOGV("%s Type: x=%i y=%i z=%i mip=%i face=%i", prefix, mDimX, mDimY, mDimZ, mDimLOD, mFaces);
+ LOGV("%s Type: x=%zu y=%zu z=%zu mip=%i face=%i", prefix, mDimX, mDimY, mDimZ, mDimLOD, mFaces);
snprintf(buf, sizeof(buf), "%s element: ", prefix);
mElement->dumpLOGV(buf);
}