add new win32 platform implementation (#1224)
* Buffer resources from swap chain were not being released. * sysgpu Texture.getWidth() should return width not height. * d3d12: Fixing issues with d3d12 on sysgpu. * Initial win32 platform
This commit is contained in:
parent
3fa889b136
commit
c32e763e11
12 changed files with 3329 additions and 18 deletions
|
|
@ -413,10 +413,6 @@ pub const Device = struct {
|
|||
}
|
||||
|
||||
pub fn deinit(device: *Device) void {
|
||||
if (device.lost_cb) |lost_cb| {
|
||||
lost_cb(.destroyed, "Device was destroyed.", device.lost_cb_userdata);
|
||||
}
|
||||
|
||||
device.queue.waitUntil(device.queue.fence_value);
|
||||
device.processQueuedOperations();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue