Rename the type to avoid collisions

This commit is contained in:
Matthew Leibowitz 2020-06-11 23:33:34 +02:00
Родитель 31df3fffa8
Коммит 82dacd0ab5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: ECDB25CC0E22FC46
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -37,10 +37,10 @@ public sealed delegate GRSharpVkGetProcedureAddressDelegate : System.MulticastDe
} }
``` ```
#### New Type: SkiaSharp.GRVkExtensionsExtensions #### New Type: SkiaSharp.GRVkExtensionsSharpVkExtensions
```csharp ```csharp
public static class GRVkExtensionsExtensions { public static class GRVkExtensionsSharpVkExtensions {
// methods // methods
public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice); public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice);
public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice, string[] instanceExtensions, string[] deviceExtensions); public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice, string[] instanceExtensions, string[] deviceExtensions);

Просмотреть файл

@ -3,7 +3,7 @@ using SharpVk;
namespace SkiaSharp namespace SkiaSharp
{ {
public static class GRVkExtensionsExtensions public static class GRVkExtensionsSharpVkExtensions
{ {
public static void Initialize(this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, Instance instance, PhysicalDevice physicalDevice) => public static void Initialize(this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, Instance instance, PhysicalDevice physicalDevice) =>
extensions.Initialize(getProc, instance, physicalDevice, null, null); extensions.Initialize(getProc, instance, physicalDevice, null, null);