mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 18:25:29 +00:00
This commit is contained in:
@@ -3235,6 +3235,11 @@ WGPU_IMPORT
|
||||
|
||||
void setDepthStencilState(WGPUDepthStencilState& _outDepthStencilState, TextureFormat::Enum _format, uint64_t _state, uint64_t _stencil)
|
||||
{
|
||||
if (!hasStencil(_format) )
|
||||
{
|
||||
_stencil = 0;
|
||||
}
|
||||
|
||||
_stencil = 0 == _stencil ? kStencilDisabled : _stencil;
|
||||
|
||||
const uint32_t fstencil = unpackStencil(0, _stencil);
|
||||
|
||||
Reference in New Issue
Block a user