Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8c5dd04 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am 16d9a259: am 8bd12ea8: Merge "Decode common GL error codes when logging...

am 16d9a259: am 8bd12ea8: Merge "Decode common GL error codes when logging frame error status" into jb-dev

* commit '16d9a259':
  Decode common GL error codes when logging frame error status
parents 0652263b 16d9a259
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -190,8 +190,17 @@ void OpenGLRenderer::finish() {
    while ((status = glGetError()) != GL_NO_ERROR) {
        ALOGD("GL error from OpenGLRenderer: 0x%x", status);
        switch (status) {
            case GL_INVALID_ENUM:
                ALOGE("  GL_INVALID_ENUM");
                break;
            case GL_INVALID_VALUE:
                ALOGE("  GL_INVALID_VALUE");
                break;
            case GL_INVALID_OPERATION:
                ALOGE("  GL_INVALID_OPERATION");
                break;
            case GL_OUT_OF_MEMORY:
                ALOGE("  OpenGLRenderer is out of memory!");
                ALOGE("  Out of memory!");
                break;
        }
    }