always request stencil buffer (depth24_stencil8) on macos/ios
This commit is contained in:
@@ -213,8 +213,9 @@ class ThermionFlutterMethodChannelPlatform extends ThermionFlutterPlatform {
|
|||||||
TextureUsage.TEXTURE_USAGE_BLIT_SRC,
|
TextureUsage.TEXTURE_USAGE_BLIT_SRC,
|
||||||
TextureUsage.TEXTURE_USAGE_DEPTH_ATTACHMENT,
|
TextureUsage.TEXTURE_USAGE_DEPTH_ATTACHMENT,
|
||||||
TextureUsage.TEXTURE_USAGE_SAMPLEABLE,
|
TextureUsage.TEXTURE_USAGE_SAMPLEABLE,
|
||||||
|
TextureUsage.TEXTURE_USAGE_STENCIL_ATTACHMENT
|
||||||
},
|
},
|
||||||
textureFormat: TextureFormat.DEPTH32F,
|
textureFormat: TextureFormat.DEPTH24_STENCIL8, // TextureFormat.DEPTH32F,
|
||||||
textureSamplerType: TextureSamplerType.SAMPLER_2D,
|
textureSamplerType: TextureSamplerType.SAMPLER_2D,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user