diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2021-03-17 18:16:32 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2021-03-18 09:42:14 +0000 |
| commit | 5376ee99e7019715cdac3f9bdce669c414144133 (patch) | |
| tree | 037988b060008eb64cdb444ed83daa04f9207b43 /src/graphics.zig | |
| parent | Get DiligentCore initialized (diff) | |
| download | openxPriments-5376ee99e7019715cdac3f9bdce669c414144133.tar.gz openxPriments-5376ee99e7019715cdac3f9bdce669c414144133.zip | |
poor attempt at automating diligent wrapper building
Diffstat (limited to 'src/graphics.zig')
| -rw-r--r-- | src/graphics.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.zig b/src/graphics.zig index b270506..abc1d7a 100644 --- a/src/graphics.zig +++ b/src/graphics.zig @@ -2,7 +2,7 @@ const std = @import("std"); const mem = std.mem; usingnamespace @import("xrvk.zig"); const Allocator = std.mem.Allocator; -const dg = @import("DiligentCore-wrap.zig"); +const dg = @import("diligent"); fn quat2euler(q: xr.Quaternionf) xr.Vector3f { const sinr_cosp = 2 * (q.w * q.x + q.y * q.z); @@ -162,7 +162,7 @@ pub const Graphics = struct { // EXPERIMENTAL - const factory = dg.EngineFactoryVk_Wrapper.wrap(dg.Diligent_GetEngineFactoryVk()); + const factory = dg.IEngineFactoryVk_Wrapper.wrap(dg.Diligent_GetEngineFactoryVk()); std.debug.print("factory: {}\n", .{factory}); const create_info = dg.EngineVkCreateInfo{ |
