gpu: successfully remove c.WGPUInstance from example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d8c48bdad1
commit
400833c8c6
1 changed files with 0 additions and 2 deletions
|
|
@ -20,7 +20,6 @@ const objc = @cImport({
|
|||
|
||||
const Setup = struct {
|
||||
native_instance: gpu.NativeInstance,
|
||||
instance: c.WGPUInstance,
|
||||
backend_type: gpu.Adapter.BackendType,
|
||||
device: gpu.Device,
|
||||
window: glfw.Window,
|
||||
|
|
@ -105,7 +104,6 @@ pub fn setup(allocator: std.mem.Allocator) !Setup {
|
|||
// backend_procs.*.deviceSetUncapturedErrorCallback.?(backend_device, printDeviceError, null);
|
||||
return Setup{
|
||||
.native_instance = native_instance,
|
||||
.instance = c.machDawnNativeInstance_get(instance),
|
||||
.backend_type = backend_type,
|
||||
.device = device,
|
||||
.window = window,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue