aboutsummaryrefslogtreecommitdiff
path: root/shared/OpenglCodecCommon/GLESTextureUtils.cpp
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2019-03-07 21:58:17 +0100
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-03-07 22:00:43 +0100
commit1cb647a0864c51d896a53b0a7442c7a9154b88bb (patch)
tree0673010716712257f70a37e20dc96959ec6174ce /shared/OpenglCodecCommon/GLESTextureUtils.cpp
parent42aa12e312a87698cf7e6718c24cc55e721de659 (diff)
downloadgoldfish-opengl-1cb647a0864c51d896a53b0a7442c7a9154b88bb.tar.gz
Switch to liblog logging on API >= 26
* libcutils log is deprecated * Also fix a typo in a debug format string Test: m hwcomposer.ranchu Change-Id: I0a8e6434c5e1081ccf7663e20279774632e015d7
Diffstat (limited to 'shared/OpenglCodecCommon/GLESTextureUtils.cpp')
-rw-r--r--shared/OpenglCodecCommon/GLESTextureUtils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/OpenglCodecCommon/GLESTextureUtils.cpp b/shared/OpenglCodecCommon/GLESTextureUtils.cpp
index 45729053..297a862f 100644
--- a/shared/OpenglCodecCommon/GLESTextureUtils.cpp
+++ b/shared/OpenglCodecCommon/GLESTextureUtils.cpp
@@ -2,7 +2,11 @@
#include "glUtils.h"
+#if PLATFORM_SDK_VERSION < 26
#include <cutils/log.h>
+#else
+#include <log/log.h>
+#endif
namespace GLESTextureUtils {