Skip to content

Remove zwindows dependency#2

Merged
hazeycode merged 1 commit intozig-gamedev:mainfrom
Parzival-3141:remove-zwindows
Jan 29, 2026
Merged

Remove zwindows dependency#2
hazeycode merged 1 commit intozig-gamedev:mainfrom
Parzival-3141:remove-zwindows

Conversation

@Parzival-3141
Copy link
Contributor

The zwindows dependency was only used to access 2 DirectX types for an optional part of the OpenVR API, and is fetched unconditionally even though it's marked as lazy. This is unnecessary, especially since the C headers just forward declare these types. D3D12 users can @ptrCast instead.

It's unecessary to require a dependency for just 2 types, especially since the C headers
forward declare them. D3D12 users can `@ptrCast` instead.
Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hazeycode hazeycode merged commit 21ccc2d into zig-gamedev:main Jan 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants