mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 02:50:36 +00:00
Fix OpenGL renderers on macOS.
This commit is contained in:
@@ -1228,9 +1228,7 @@ void Viewport::RendererGL::validateDatas() {
|
||||
_tileDataIndices[i] = index;
|
||||
}
|
||||
auto image = _names.takeImage();
|
||||
const auto imageSize = QSize(
|
||||
available * factor,
|
||||
_tileData.size() * nameHeight);
|
||||
const auto imageSize = QSize(available, _tileData.size() * nameHeight);
|
||||
const auto allocate = (image.size() != imageSize);
|
||||
auto paintToImage = allocate
|
||||
? QImage(imageSize, QImage::Format_ARGB32_Premultiplied)
|
||||
|
||||
+1
-1
Submodule Telegram/lib_ui updated: 43efd9e307...9294c8c695
Reference in New Issue
Block a user