We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ae1e3 commit 038bc7fCopy full SHA for 038bc7f
GPU/GLES/TextureCacheGLES.cpp
@@ -304,7 +304,7 @@ void TextureCacheGLES::BuildTexture(TexCacheEntry *const entry) {
304
bc = true;
305
} else {
306
int bpp = (int)Draw::DataFormatSizeInBytes(plan.replaced->Format());
307
- stride = std::max(mipWidth * bpp, 16);
+ stride = mipWidth * bpp;
308
dataSize = stride * mipHeight;
309
}
310
@@ -314,7 +314,7 @@ void TextureCacheGLES::BuildTexture(TexCacheEntry *const entry) {
314
315
bpp = (int)Draw::DataFormatSizeInBytes(dstFmt);
316
317
318
319
320
0 commit comments