draw non-scaled textures with linear filtration to significantly decrease batches count

This commit is contained in:
gazer 2017-06-05 21:24:13 +03:00
parent 6970eb3120
commit 2dcababb65
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ private class GLImageCache : GLCache
dstrc.bottom -= clip.bottom;
}
if (!dstrc.empty)
glSupport.queue.addTexturedRect(_texture, _tdx, _tdy, color, color, color, color, srcrc, dstrc, srcrc.width() != dstrc.width() || srcrc.height() != dstrc.height());
glSupport.queue.addTexturedRect(_texture, _tdx, _tdy, color, color, color, color, srcrc, dstrc, true);
}
}
}