diff options
| author | 2012-01-09 10:13:41 -0800 | |
|---|---|---|
| committer | 2012-01-09 10:13:41 -0800 | |
| commit | 08289f55eae5c4127091360e862f78d57ae24c15 (patch) | |
| tree | 4bc65b61ad79f1a6326aff3d501056a57695fa4b /libs/hwui/Program.cpp | |
| parent | c0c3025cf2b887b4eb7020c1b7e6f0db69a51aef (diff) | |
| parent | 3762c311729fe9f3af085c14c5c1fb471d994c03 (diff) | |
Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE"
Diffstat (limited to 'libs/hwui/Program.cpp')
| -rw-r--r-- | libs/hwui/Program.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp index 701314d3c0b8..984461ca68d2 100644 --- a/libs/hwui/Program.cpp +++ b/libs/hwui/Program.cpp @@ -55,13 +55,13 @@ Program::Program(const ProgramDescription& description, const char* vertex, cons GLint status; glGetProgramiv(mProgramId, GL_LINK_STATUS, &status); if (status != GL_TRUE) { - LOGE("Error while linking shaders:"); + ALOGE("Error while linking shaders:"); GLint infoLen = 0; glGetProgramiv(mProgramId, GL_INFO_LOG_LENGTH, &infoLen); if (infoLen > 1) { GLchar log[infoLen]; glGetProgramInfoLog(mProgramId, infoLen, 0, &log[0]); - LOGE("%s", log); + ALOGE("%s", log); } glDetachShader(mProgramId, mVertexShader); @@ -142,7 +142,7 @@ GLuint Program::buildShader(const char* source, GLenum type) { // use a fixed size instead GLchar log[512]; glGetShaderInfoLog(shader, sizeof(log), 0, &log[0]); - LOGE("Error while compiling shader: %s", log); + ALOGE("Error while compiling shader: %s", log); glDeleteShader(shader); return 0; } |