mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
WebGPU: Expect release after destroy. (#3557)
This commit is contained in:
committed by
GitHub
parent
780ef58e97
commit
9ca7782405
@@ -525,6 +525,7 @@ WGPU_IMPORT
|
|||||||
if (NULL != _obj) \
|
if (NULL != _obj) \
|
||||||
{ \
|
{ \
|
||||||
wgpu##_name##Destroy(_obj); \
|
wgpu##_name##Destroy(_obj); \
|
||||||
|
wgpu##_name##Release(_obj); \
|
||||||
_obj = NULL; \
|
_obj = NULL; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user