From 9cdd0079b4e04f85b8998b5fe286767d1e261321 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 31 Aug 2017 20:56:29 -0400 Subject: [PATCH] Vulkan parameter type fixes --- src/SDL2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 1c4d8ea..7aed185 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1816,7 +1816,7 @@ namespace SDL2 public static extern SDL_bool SDL_Vulkan_GetInstanceExtensions( IntPtr window, out uint pCount, - out IntPtr pNames + IntPtr[] pNames ); /* window refers to an SDL_Window. @@ -1828,7 +1828,7 @@ namespace SDL2 public static extern SDL_bool SDL_Vulkan_CreateSurface( IntPtr window, IntPtr instance, - ref IntPtr surface + out IntPtr surface ); /* window refers to an SDL_Window*.