mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Fix TextureId
This commit is contained in:
1 parent
d341ec6450
commit
860e68b59b
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user