ca92b35948
Moved from aports/main to aports/luna, so we can disable the entire folder from building in the binary repository: * qt5-qtwebengine * postmarketos-ui-luna
23 lines
1.3 KiB
Diff
23 lines
1.3 KiB
Diff
diff --git a/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.cc b/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.cc
|
|
index dd7d59c..dcdd8ba 100644
|
|
--- a/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.cc
|
|
+++ b/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.cc
|
|
@@ -1910,11 +1910,13 @@ bool TextureManager::Initialize() {
|
|
default_textures_[kCubeMap] = CreateDefaultAndBlackTextures(
|
|
GL_TEXTURE_CUBE_MAP, &black_texture_ids_[kCubeMap]);
|
|
|
|
- if (feature_info_->IsWebGL2OrES3Context()) {
|
|
- default_textures_[kTexture3D] = CreateDefaultAndBlackTextures(
|
|
- GL_TEXTURE_3D, &black_texture_ids_[kTexture3D]);
|
|
- default_textures_[kTexture2DArray] = CreateDefaultAndBlackTextures(
|
|
- GL_TEXTURE_2D_ARRAY, &black_texture_ids_[kTexture2DArray]);
|
|
+ if (feature_info_->gl_version_info().is_es3_capable) {
|
|
+ if (feature_info_->IsWebGL2OrES3Context()) {
|
|
+ default_textures_[kTexture3D] = CreateDefaultAndBlackTextures(
|
|
+ GL_TEXTURE_3D, &black_texture_ids_[kTexture3D]);
|
|
+ default_textures_[kTexture2DArray] = CreateDefaultAndBlackTextures(
|
|
+ GL_TEXTURE_2D_ARRAY, &black_texture_ids_[kTexture2DArray]);
|
|
+ }
|
|
}
|
|
|
|
if (feature_info_->feature_flags().oes_egl_image_external ||
|