From 05cbdba9653276f03e974561b3a9c0a289e30045 Mon Sep 17 00:00:00 2001 From: wheremyfoodat Date: Sun, 30 Apr 2023 15:16:45 +0300 Subject: [PATCH] Fix typo --- src/core/renderer_gl/etc1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/renderer_gl/etc1.cpp b/src/core/renderer_gl/etc1.cpp index b983bb58..a4bc3edc 100644 --- a/src/core/renderer_gl/etc1.cpp +++ b/src/core/renderer_gl/etc1.cpp @@ -8,7 +8,7 @@ static constexpr u32 signExtend3To32(u32 val) { } u32 Texture::getTexelETC(bool hasAlpha, u32 u, u32 v, u32 width, const void* data) { - // Pixel offset of the 8x8 tile based on u, vand the width of the texture + // Pixel offset of the 8x8 tile based on u, v and the width of the texture u32 offs = ((u & ~7) * 8) + ((v & ~7) * width); if (!hasAlpha) offs >>= 1;