mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Merge #30
30: Fix TextureId r=kvark a=Michael-Lfx Co-authored-by: Michael-Lai fx <cihv2@163.com>
This commit is contained in:
commit
c440791ab2
@ -349,7 +349,7 @@ pub extern "C" fn wgpu_texture_create_default_texture_view(
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn wgpu_texture_destroy(
|
||||
texture_id: DeviceId,
|
||||
texture_id: TextureId,
|
||||
) {
|
||||
let texture_guard = HUB.textures.lock();
|
||||
let texture = texture_guard.get(texture_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user