diff --git a/engine/src/flutter/shell/platform/windows/external_texture_d3d.cc b/engine/src/flutter/shell/platform/windows/external_texture_d3d.cc index 7a4e0e2d45..dfd4d1979d 100644 --- a/engine/src/flutter/shell/platform/windows/external_texture_d3d.cc +++ b/engine/src/flutter/shell/platform/windows/external_texture_d3d.cc @@ -45,7 +45,7 @@ bool ExternalTextureD3d::PopulateTexture(size_t width, // Populate the texture object used by the engine. opengl_texture->target = GL_TEXTURE_2D; opengl_texture->name = gl_texture_; - opengl_texture->format = GL_RGBA; + opengl_texture->format = GL_RGBA8_OES; opengl_texture->destruction_callback = nullptr; opengl_texture->user_data = nullptr; opengl_texture->width = SAFE_ACCESS(descriptor, visible_width, 0); diff --git a/engine/src/flutter/shell/platform/windows/external_texture_pixelbuffer.cc b/engine/src/flutter/shell/platform/windows/external_texture_pixelbuffer.cc index 2ead76a0ac..4dae259500 100644 --- a/engine/src/flutter/shell/platform/windows/external_texture_pixelbuffer.cc +++ b/engine/src/flutter/shell/platform/windows/external_texture_pixelbuffer.cc @@ -36,7 +36,7 @@ bool ExternalTexturePixelBuffer::PopulateTexture( // Populate the texture object used by the engine. opengl_texture->target = GL_TEXTURE_2D; opengl_texture->name = state_->gl_texture; - opengl_texture->format = GL_RGBA; + opengl_texture->format = GL_RGBA8_OES; opengl_texture->destruction_callback = nullptr; opengl_texture->user_data = nullptr; opengl_texture->width = width;