mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use GL_BGRA_EXT format with ANGLE.
This commit is contained in:
@@ -356,8 +356,8 @@ void Pip::RendererGL::paintTransformedStaticContent(
|
||||
const auto stride = image.bytesPerLine() / 4;
|
||||
const auto data = image.constBits();
|
||||
uploadTexture(
|
||||
GL_RGBA,
|
||||
GL_RGBA,
|
||||
Ui::GL::kFormatRGBA,
|
||||
Ui::GL::kFormatRGBA,
|
||||
image.size(),
|
||||
_rgbaSize,
|
||||
stride,
|
||||
|
Reference in New Issue
Block a user