summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-12-15 18:22:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-12-15 18:22:30 +0000
commita7e10edaa3c165bda6a58bc3ed3fb042274d5578 (patch)
tree47bdd4f3cb097dd90d53a96618e13768c57da4b7
parent123ba0f593459dfb5b01596862b3278c1140a6e2 (diff)
parenta76df8904aeef1f42f3a714797bc3de1bd9e76c5 (diff)
Merge "bootanimtion: fix jagged animation after resolution change" into main
-rw-r--r--cmds/bootanimation/BootAnimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index 681f8e9f44a0..f8706b3e65d6 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -389,8 +389,8 @@ status_t BootAnimation::initTexture(FileMap* map, int* width, int* height,
break;
}
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);