Skip to content

Commit

Permalink
update minimal_glfw_d3d12 for minor zglfw api change
Browse files Browse the repository at this point in the history
  • Loading branch information
hazeycode committed Mar 9, 2024
1 parent 408cc84 commit fc11e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/minimal_glfw_d3d12/src/minimal_glfw_d3d12.zig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn main() !void {
const glfw_window = try glfw.Window.create(1600, 1200, window_name, null);
defer glfw_window.destroy();

const window = try glfw.native.getWin32Window(glfw_window);
const window = try glfw.getWin32Window(glfw_window);
var gctx = zd3d12.GraphicsContext.init(allocator, window);
defer gctx.deinit(allocator);

Expand Down

0 comments on commit fc11e80

Please sign in to comment.