am 9ae79d86
: Build fix for size_t on 64bit.
* commit '9ae79d869a37633fa956a4f16f3fa45b23c189f1': Build fix for size_t on 64bit.
This commit is contained in:
commit
45500a2512
@ -139,8 +139,8 @@ RenderEngine* RenderEngine::create(EGLDisplay display, int hwcFormat) {
|
||||
ALOGI("renderer : %s", extensions.getRenderer());
|
||||
ALOGI("version : %s", extensions.getVersion());
|
||||
ALOGI("extensions: %s", extensions.getExtension());
|
||||
ALOGI("GL_MAX_TEXTURE_SIZE = %d", engine->getMaxTextureSize());
|
||||
ALOGI("GL_MAX_VIEWPORT_DIMS = %d", engine->getMaxViewportDims());
|
||||
ALOGI("GL_MAX_TEXTURE_SIZE = %zu", engine->getMaxTextureSize());
|
||||
ALOGI("GL_MAX_VIEWPORT_DIMS = %zu", engine->getMaxViewportDims());
|
||||
|
||||
eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||
eglDestroySurface(display, dummy);
|
||||
|
@ -640,7 +640,7 @@ status_t SurfaceFlinger::setActiveConfig(const sp<IBinder>& display, int mode) {
|
||||
Vector<DisplayInfo> configs;
|
||||
mFlinger.getDisplayConfigs(mDisplay, &configs);
|
||||
if(mMode < 0 || mMode >= configs.size()) {
|
||||
ALOGE("Attempt to set active config = %d for display with %d configs",
|
||||
ALOGE("Attempt to set active config = %d for display with %zu configs",
|
||||
mMode, configs.size());
|
||||
}
|
||||
sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay));
|
||||
|
Loading…
Reference in New Issue
Block a user