Skip to content

Vulkan Instance Creation Fails with VK_KHR_surface Ext. on Old Hardware #2241

Closed Answered by Perksey
TheVave asked this question in Q&A

You must be logged in to vote
fixed (string* firstExtPtr = &ext[0])

This is not correct, this is taking a pointer to managed object reference (your compiler should warn you about this)

We have a convenience method SilkMarshal.StringArrayToPtr you can use to get a byte** from a string[].

Replies: 1 comment 5 replies

You must be logged in to vote
5 replies
@TheVave

@Perksey

@TheVave

@Perksey

@TheVave

Answer selected by TheVave
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants