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

Commit 192bd695 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

Merge commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c' into eclair-mr2

* commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c':
  Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
parents 423b2928 67838bc1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -246,10 +246,10 @@ void DisplayHardware::init(uint32_t dpy)
    LOGI("version   : %s", glGetString(GL_VERSION));
    LOGI("extensions: %s", gl_extensions);

    //if (strstr(gl_renderer, "PowerVR SGX 530")) {
    //    LOGD("Assuming uncached graphics buffers.");
    //    mFlags &= ~CACHED_BUFFERS;
    //}
    if (strstr(gl_renderer, "PowerVR SGX 530")) {
        LOGD("Assuming uncached graphics buffers.");
        mFlags &= ~CACHED_BUFFERS;
    }
    if (strstr(gl_extensions, "GL_ARB_texture_non_power_of_two")) {
        mFlags |= NPOT_EXTENSION;
    }