aboutsummaryrefslogtreecommitdiffstatsci
path: root/samples/select_physical_dev/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/select_physical_dev/Program.cs')
-rw-r--r--samples/select_physical_dev/Program.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/samples/select_physical_dev/Program.cs b/samples/select_physical_dev/Program.cs
index e20193b..59ab23e 100644
--- a/samples/select_physical_dev/Program.cs
+++ b/samples/select_physical_dev/Program.cs
@@ -8,12 +8,16 @@ namespace tests
{
class Program
{
-
+ delegate void del(IntPtr phy, ref VkPhysicalDeviceFeatures2 vdf);
+ delegate void del2(IntPtr phy, IntPtr vdf);
static void Main(string[] args)
{
VkInstance inst;
- using (VkApplicationInfo ai = new VkApplicationInfo ()) {
+ using (VkApplicationInfo ai = new VkApplicationInfo (
+ new Vulkan.Version(1,2,0),
+ new Vulkan.Version(1,2,0),
+ new Vulkan.Version(1,3,0))) {
using (VkInstanceCreateInfo ci = new VkInstanceCreateInfo {pApplicationInfo = ai}){
CheckResult (vkCreateInstance (ci, IntPtr.Zero, out inst));
}